Skip to content

Commit fa9319c

Browse files
process_data.sh: Replace sct_deepseg_sc with sct_deepseg
1 parent dea569b commit fa9319c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

multi_subject/process_data.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@ segment_if_does_not_exist() {
8080
if [[ -e "${FILESEGMANUAL}" ]]; then
8181
echo "Found! Using manual segmentation."
8282
rsync -avzh "${FILESEGMANUAL}" "${FILESEG}".nii.gz
83-
sct_qc -i "${file}".nii.gz -s "${FILESEG}".nii.gz -p sct_deepseg_sc -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
83+
sct_qc -i "${file}".nii.gz -s "${FILESEG}".nii.gz -p sct_deepseg -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
8484
else
8585
echo "Not found. Proceeding with automatic segmentation."
8686
# Segment spinal cord
87-
sct_deepseg_sc -i "${file}".nii.gz -c "${contrast}" -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
87+
sct_deepseg -task seg_sc_contrast_agnostic -i "${file}".nii.gz -qc "${PATH_QC}" -qc-subject
88+
"${SUBJECT}"
8889
fi
8990
}
9091

0 commit comments

Comments
 (0)