Skip to content

Commit

Permalink
Fix missing quote
Browse files Browse the repository at this point in the history
Fixed bug introduced in 7e37d27
  • Loading branch information
jcohenadad authored Jan 16, 2024
1 parent 3db949a commit 5db1f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_processing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@
"for subject in subjects:\n",
" os.chdir(os.path.join(path_data, subject, \"fmap\"))\n",
" for shim_mode in shim_modes:\n",
" # Use linear interpolation to preserve partial volume information (needed when extracting values along the cord)
" # Use linear interpolation to preserve partial volume information (needed when extracting values along the cord)\n",
" !sct_apply_transfo -i ../anat/{subject}_acq-CoV_T2starw_crop_seg.nii.gz -d {subject}_acq-anat{shim_mode}_TB1TFL.nii.gz -w warp_{subject}_acq-CoV_T2starw_crop2{subject}_acq-anat{shim_mode}_TB1TFL.nii.gz -x linear -o {subject}_acq-anat{shim_mode}_TB1TFL_seg.nii.gz\n",
" # Use nearest neighbour (nn) interpolation because we are dealing with non-binary discrete labels
" # Use nearest neighbour (nn) interpolation because we are dealing with non-binary discrete labels\n",
" !sct_apply_transfo -i ../anat/{subject}_acq-CoV_T2starw_crop_seg_labeled.nii.gz -d {subject}_acq-anat{shim_mode}_TB1TFL.nii.gz -w warp_{subject}_acq-CoV_T2starw_crop2{subject}_acq-anat{shim_mode}_TB1TFL.nii.gz -x nn -o {subject}_acq-anat{shim_mode}_TB1TFL_seg_labeled.nii.gz"
]
},
Expand Down

0 comments on commit 5db1f0e

Please sign in to comment.