Skip to content

Commit 760026e

Browse files
process_data.sh: Remove -manual suffix from LABEL/SEGMANUAL
The associated manual correction script no longer uses the `-manual` suffix: spinalcordtoolbox/spinalcordtoolbox#4284 (comment)
1 parent c8831ca commit 760026e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

multi_subject/process_data.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ label_if_does_not_exist() {
4949
local file_seg="${2}"
5050
# Update global variable with segmentation file name
5151
FILELABEL="${file}"_labels
52-
FILELABELMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILELABEL}"-manual.nii.gz
52+
FILELABELMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILELABEL}".nii.gz
5353
echo "Looking for manual label: ${FILELABELMANUAL}"
5454
if [[ -e "${FILELABELMANUAL}" ]]; then
5555
echo "Found! Using manual labels."
@@ -74,7 +74,7 @@ segment_if_does_not_exist() {
7474
local contrast="${2}"
7575
# Update global variable with segmentation file name
7676
FILESEG="${file}"_seg
77-
FILESEGMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILESEG}"-manual.nii.gz
77+
FILESEGMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILESEG}".nii.gz
7878
echo
7979
echo "Looking for manual segmentation: ${FILESEGMANUAL}"
8080
if [[ -e "${FILESEGMANUAL}" ]]; then

0 commit comments

Comments
 (0)