From 5db1f0eca5e5707e34f7bf4a807cfc84bdf57d83 Mon Sep 17 00:00:00 2001 From: Julien Cohen-Adad Date: Tue, 16 Jan 2024 13:02:22 -0500 Subject: [PATCH] Fix missing quote Fixed bug introduced in https://github.com/shimming-toolbox/rf-shimming-7t/commit/7e37d272cec301eae0e54747d46168cd47448e37 --- data_processing.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_processing.ipynb b/data_processing.ipynb index 797bed0..8691005 100644 --- a/data_processing.ipynb +++ b/data_processing.ipynb @@ -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" ] },