Skip to content

Commit 10fe6d9

Browse files
committed
Fixed dtype conversion issue for main processing script
The same fix was already implemented for the spine-generic processing script. Now, when processing the new sub-20210728 dataset, the issue is back, so we need to apply the fix also here.
1 parent 61d03b0 commit 10fe6d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

process_data.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ segment_gm_if_does_not_exist(){
7474
# Segment spinal cord
7575
sct_deepseg_gm -i ${file}${ext} -qc ${PATH_QC} -qc-subject ${SUBJECT}
7676
fi
77+
# Converts GM segmentation to UINT8. See: https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3488
78+
sct_image -i ${FILESEG}${ext} -type uint8 -o ${FILESEG}${ext}
7779
}
7880

7981

0 commit comments

Comments
 (0)