Skip to content

Commit

Permalink
Fixed dtype conversion issue for main processing script
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jcohenadad committed Jul 30, 2021
1 parent 61d03b0 commit 10fe6d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions process_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ segment_gm_if_does_not_exist(){
# Segment spinal cord
sct_deepseg_gm -i ${file}${ext} -qc ${PATH_QC} -qc-subject ${SUBJECT}
fi
# Converts GM segmentation to UINT8. See: https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3488
sct_image -i ${FILESEG}${ext} -type uint8 -o ${FILESEG}${ext}
}


Expand Down

0 comments on commit 10fe6d9

Please sign in to comment.