Skip to content

Commit

Permalink
process_data.sh: Replace sct_deepseg_sc with sct_deepseg
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacwnewton committed Nov 27, 2024
1 parent dea569b commit fa9319c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions multi_subject/process_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ segment_if_does_not_exist() {
if [[ -e "${FILESEGMANUAL}" ]]; then
echo "Found! Using manual segmentation."
rsync -avzh "${FILESEGMANUAL}" "${FILESEG}".nii.gz
sct_qc -i "${file}".nii.gz -s "${FILESEG}".nii.gz -p sct_deepseg_sc -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
sct_qc -i "${file}".nii.gz -s "${FILESEG}".nii.gz -p sct_deepseg -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
else
echo "Not found. Proceeding with automatic segmentation."
# Segment spinal cord
sct_deepseg_sc -i "${file}".nii.gz -c "${contrast}" -qc "${PATH_QC}" -qc-subject "${SUBJECT}"
sct_deepseg -task seg_sc_contrast_agnostic -i "${file}".nii.gz -qc "${PATH_QC}" -qc-subject
"${SUBJECT}"
fi
}

Expand Down

0 comments on commit fa9319c

Please sign in to comment.