Skip to content

Commit 4edd73c

Browse files
run_script_and_create_release.yml: Upload QC [WIP]
1 parent fd6d63d commit 4edd73c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/run_script_and_create_release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ jobs:
6060
cd "${{ github.event.repository.name }}/single_subject"
6161
./batch_single_subject.sh
6262
63+
- name: "Upload QC report for easier output verification"
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: batch_single_subject QC (${{ matrix.os }})
67+
path: "~/qc_singleSubj"
68+
6369
- name: "Upload CSV files for easier tutorial updating"
6470
uses: actions/upload-artifact@v4
6571
with:

single_subject/batch_single_subject.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ fi
4747
cd data/t2
4848
# Spinal cord segmentation (using the new 2024 contrast-agnostic method)
4949
sct_deepseg spinalcord -i t2.nii.gz -qc ~/qc_singleSubj
50+
exit 0
5051
# The default output is t2_seg.nii.gz
5152
# You can also choose your own output filename using the “-o” argument
5253
sct_deepseg spinalcord -i t2.nii.gz -o test/t2_seg_2.nii.gz

0 commit comments

Comments
 (0)