Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [jcohen@gra-login3 log]$ cat process_data_sub-unf06.log
- + set -e
- + trap 'echo Caught Keyboard Interrupt within script. Exiting now.; exit' INT
- ++ date +%s
- + start=1598284474
- + SUBJECT=sub-unf06
- + config_script=/home/jcohen/csa-atrophy/config_script_t1.yml
- + echo 'SUBJECT: sub-unf06'
- SUBJECT: sub-unf06
- + echo 'config_script: /home/jcohen/csa-atrophy/config_script_t1.yml'
- config_script: /home/jcohen/csa-atrophy/config_script_t1.yml
- ++ yaml_parser -o n_transfo -i /home/jcohen/csa-atrophy/config_script_t1.yml
- + n_transfo=3
- ++ yaml_parser -o rescaling -i /home/jcohen/csa-atrophy/config_script_t1.yml
- + rescaling='[1, 0.99]'
- ++ tr ''\''' ' '
- ++ tr , ' '
- ++ tr '[]' ' '
- ++ echo '[1,' '0.99]'
- + R_COEFS=' 1 0.99 '
- ++ yaml_parser -o contrast -i /home/jcohen/csa-atrophy/config_script_t1.yml
- + contrast=t1
- ++ yaml_parser -o transfo_file -i /home/jcohen/csa-atrophy/config_script_t1.yml
- + transfo_file=transfo_values.csv
- + echo 'transfo_file: transfo_values.csv'
- transfo_file: transfo_values.csv
- + sct_check_dependencies -short
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- SCT info:
- - version: git-master-253936cfc07712c587d9f4cfbbcb760f151172f0
- - path: /home/jcohen/sct
- OS: linux (Linux-3.10.0-1127.8.2.el7.x86_64-x86_64-with-centos-7.8.2003-Core)
- CPU cores: Available: 32, Used by SCT: 1
- RAM: MemTotal: 527986272 kB
- total used free shared buff/cache available
- Mem: 515611 121291 342871 3724 51448 384671
- Swap: 10239 648 9591
- + cd /scratch/jcohen/results_csa_t1_20200824/data_processed
- + cp -r /home/jcohen/data-multi-subject/sub-unf06 .
- + cd sub-unf06
- + rm -r dwi
- + cd anat
- + '[' t1 == t2 ']'
- + '[' t1 == t1 ']'
- + contrast_str=T1w
- + interp=1x1x1
- + file=sub-unf06_T1w
- + sct_image -i sub-unf06_T1w.nii.gz -setorient RPI -o sub-unf06_T1w_RPI.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- sub-unf06_T1w.nii.gz
- Generate output files...
- + file=sub-unf06_T1w_RPI
- + sct_resample -i sub-unf06_T1w_RPI.nii.gz -mm 1x1x1 -o sub-unf06_T1w_RPI_r.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- load data...
- + file=sub-unf06_T1w_RPI_r
- ++ date +%s
- + end=1598284491
- + runtime=17
- + echo '+++++++++++ TIME: Duration of reorienting and resampling: 0hrs 0min 17sec'
- +++++++++++ TIME: Duration of reorienting and resampling: 0hrs 0min 17sec
- ++ date +%s
- + start=1598284491
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r t1 '-qc /scratch/jcohen/results_csa_t1_20200824/qc -qc-subject sub-unf06'
- + local file=sub-unf06_T1w_RPI_r
- + local contrast=t1
- + local 'qc=-qc /scratch/jcohen/results_csa_t1_20200824/qc -qc-subject sub-unf06'
- + FILESEG=sub-unf06_T1w_RPI_r_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r.nii.gz -c t1 -qc /scratch/jcohen/results_csa_t1_20200824/qc -qc-subject sub-unf06
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824115459.539535-20gl8n_6)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824115553.976076-p3w6ect4
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Removing small objects above slice #173
- Remove temporary files...
- rm -rf /tmp/sct-20200824115459.539535-20gl8n_6
- *** Generate Quality Control (QC) html report ***
- Resample images to 0.6x0.6 mm
- QcImage: layout with Axial slice
- Compute center of mass at each slice
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/select2.min.css /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/style.css /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/bootstrap.min.css.map /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/bootstrap-table.min.css /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/bootstrap.min.css /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/css/bootstrap-theme.min.css /scratch/jcohen/results_csa_t1_20200824/qc/_assets/css
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/bootstrap.min.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/bootstrap-table.min.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/animation.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/select2.min.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/jquery-3.1.0.min.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/js/main.js /scratch/jcohen/results_csa_t1_20200824/qc/_assets/js
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/imgs/sagittal.png /scratch/jcohen/results_csa_t1_20200824/qc/_assets/imgs
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/imgs/axial.png /scratch/jcohen/results_csa_t1_20200824/qc/_assets/imgs
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/imgs/sct_logo.png /scratch/jcohen/results_csa_t1_20200824/qc/_assets/imgs
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/fonts/glyphicons-halflings-regular.woff /scratch/jcohen/results_csa_t1_20200824/qc/_assets/fonts
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/fonts/glyphicons-halflings-regular.eot /scratch/jcohen/results_csa_t1_20200824/qc/_assets/fonts
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/fonts/glyphicons-halflings-regular.ttf /scratch/jcohen/results_csa_t1_20200824/qc/_assets/fonts
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/fonts/glyphicons-halflings-regular.svg /scratch/jcohen/results_csa_t1_20200824/qc/_assets/fonts
- cp /home/jcohen/sct/spinalcordtoolbox/reports/assets/_assets/fonts/glyphicons-halflings-regular.woff2 /scratch/jcohen/results_csa_t1_20200824/qc/_assets/fonts
- Successfully generated the QC results in /scratch/jcohen/results_csa_t1_20200824/qc/_json/qc_2020_08_24_115702.422701.json
- Use the following command to see the results in a browser:
- xdg-open "/scratch/jcohen/results_csa_t1_20200824/qc/index.html"
- + file_seg=sub-unf06_T1w_RPI_r_seg
- ++ date +%s
- + end=1598284624
- + runtime=133
- + echo '+++++++++++ TIME: Duration of segmentation on non cropped image: 0hrs 2min 13sec'
- +++++++++++ TIME: Duration of segmentation on non cropped image: 0hrs 2min 13sec
- ++ date +%s
- + start=1598284624
- + label_if_does_not_exist sub-unf06_T1w_RPI_r sub-unf06_T1w_RPI_r_seg t1 T1w
- + local file=sub-unf06_T1w_RPI_r
- + local file_seg=sub-unf06_T1w_RPI_r_seg
- + local contrast=t1
- + local contrast_str=T1w
- + FILELABEL=sub-unf06_T1w_RPI_r_labels
- + FILELABELMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_labels-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_labels-manual.nii.gz ']'
- + sct_label_vertebrae -i sub-unf06_T1w_RPI_r.nii.gz -s sub-unf06_T1w_RPI_r_seg.nii.gz -c t1 -qc /scratch/jcohen/results_csa_t1_20200824/qc -qc-subject sub-unf06
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Folder /scratch/jcohen/results_csa_t1_20200824/qc has been created.
- Create temporary folder (/tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63)...
- Copying input data to tmp folder...
- Straighten spinal cord...
- Create temporary folder (/tmp/sct-20200824115707.278393-straighten_spinalcord-hlns7gei)...
- Copy files to tmp folder...
- Window length needs to be >= 3. Returning input signal.
- Window length needs to be >= 3. Returning input signal.
- Fitting centerline using B-spline approximation
- Error on approximation = 1.04 mm
- Error on approximation = 0.21 mm
- Error on approximation = 0.05 mm
- Error on approximation = 0.03 mm
- Error on approximation = 0.02 mm
- Error on approximation = 0.02 mm
- Error on approximation = 0.02 mm
- Create the straight space and the safe zone
- Length of spinal cord: 178.0595712416701
- Size of spinal cord in z direction: 173.0
- Ratio length/size: 1.0292460765414457
- Safe zone boundaries (curved space): [-83.09638977050781, 89.90361022949219]
- Safe zone boundaries (straight space): [-85.62617539134287, 92.43339585032724]
- Pad input volume to account for spinal cord length...
- Time to generate centerline: 27.0 ms
- Warping field generated: tmp.curve2straight.nii.gz
- Warping field generated: tmp.straight2curve.nii.gz
- Apply transformation to input image...
- /home/jcohen/sct/bin/isct_antsApplyTransforms -d 3 -r tmp.centerline_pad_crop.nii.gz -i data.nii -o tmp.anat_rigid_warp.nii.gz -t tmp.curve2straight.nii.gz -n 'BSpline[3]' # in /tmp/sct-20200824115707.278393-straighten_spinalcord-hlns7gei
- Generate output files...
- File created: ./warp_curve2straight.nii.gz
- File created: ./warp_straight2curve.nii.gz
- cp /tmp/sct-20200824115707.278393-straighten_spinalcord-hlns7gei/tmp.anat_rigid_warp.nii.gz ./straight_ref.nii.gz
- File created: ./data_straight.nii
- Remove temporary files...
- rm -rf /tmp/sct-20200824115707.278393-straighten_spinalcord-hlns7gei
- Finished! Elapsed time: 108 s
- Resample to 0.5mm isotropic...
- sct_resample -i data_straight.nii -mm 0.5x0.5x0.5 -x linear -o data_straightr.nii # in /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- Apply straightening to segmentation...
- /home/jcohen/sct/bin/isct_antsApplyTransforms -d 3 -i segmentation.nii -r data_straightr.nii -t warp_curve2straight.nii.gz -o segmentation_straight.nii -n Linear # in /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- sct_maths -i segmentation_straight.nii -thr 0.5 -o segmentation_straight.nii # in /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- Create label to identify disc...
- Creating temporary folder...
- Run C2-C3 detector...
- C2-C3 detected...
- Remove temporary files...
- rm -rf /tmp/sct-20200824115902.632439-usilw9k0
- File /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63/labelz.nii.gz already exists. Will overwrite it.
- And apply straightening to label...
- /home/jcohen/sct/bin/isct_antsApplyTransforms -d 3 -i labelz.nii.gz -r data_straightr.nii -t warp_curve2straight.nii.gz -o labelz_straight.nii.gz -n NearestNeighbor # in /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- Get z and disc values from straight label...
- .. [280, 3]
- Look for template...
- Path template: /home/jcohen/sct/data/PAM50
- Open template and vertebral levels...
- Disc values from template: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
- Z-values for each disc: [962, 939, 908, 871, 834, 801, 770, 736, 693, 647, 601, 552, 501, 450, 397, 343, 290, 232, 169, 106, 56]
- Distances between discs (in voxel): [23.0, 31.0, 37.0, 37.0, 33.0, 31.0, 34.0, 43.0, 46.0, 46.0, 49.0, 51.0, 51.0, 53.0, 54.0, 53.0, 58.0, 63.0, 63.0, 50.0]
- Detect intervertebral discs...
- Current disc: 2 (z=280). Direction: superior
- .. Peak found: z=-5 (correlation = 0.6735053968732413)
- Current disc: 1 (z=306). Direction: superior
- .. correcting factor: 1.0
- .. Switching to inferior direction.
- Current disc: 3 (z=243). Direction: inferior
- .. Peak found: z=-2 (correlation = 0.728995560334394)
- .. correcting factor: 0.9594594594594594
- Current disc: 4 (z=205). Direction: inferior
- .. Peak found: z=3 (correlation = 0.7388355091912501)
- .. correcting factor: 0.9369369369369368
- Current disc: 5 (z=177). Direction: inferior
- .. Peak found: z=2 (correlation = 0.6333839261126878)
- .. correcting factor: 0.9223996723996724
- Current disc: 6 (z=150). Direction: inferior
- .. Peak found: z=1 (correlation = 0.6923391347451896)
- .. correcting factor: 0.9185648992100605
- Current disc: 7 (z=120). Direction: inferior
- .. Peak found: z=0 (correlation = 0.6291191491294454)
- .. correcting factor: 0.9174315336554426
- Current disc: 8 (z=81). Direction: inferior
- .. Peak found: z=-2 (correlation = 0.6910021673913839)
- .. correcting factor: 0.922582510575097
- Current disc: 9 (z=37). Direction: inferior
- .. Peak found: z=3 (correlation = 0.6909278407497623)
- .. correcting factor: 0.913237957622775
- Adding top disc based on adjusted template distance: #0
- .. approximate distance: 21
- Un-straighten labeling...
- /home/jcohen/sct/bin/isct_antsApplyTransforms -d 3 -i segmentation_straight_labeled.nii -r segmentation.nii -t warp_straight2curve.nii.gz -o segmentation_labeled.nii -n NearestNeighbor # in /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- Clean labeled segmentation (correct interpolation errors)...
- File /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63/segmentation_labeled.nii already exists. Will overwrite it.
- Label discs...
- Generate output files...
- File created: ./sub-unf06_T1w_RPI_r_seg_labeled.nii.gz
- File created: ./sub-unf06_T1w_RPI_r_seg_labeled_discs.nii.gz
- File created: ./warp_curve2straight.nii.gz
- File created: ./warp_straight2curve.nii.gz
- File created: ./straight_ref.nii.gz
- Remove temporary files...
- rm -rf /tmp/sct-20200824115706.061159-label_vertebrae-mv5jvq63
- *** Generate Quality Control (QC) html report ***
- Resample images to NonexNone mm
- QcImage: layout with Sagittal slice
- Successfully generated the QC results in /scratch/jcohen/results_csa_t1_20200824/qc/_json/qc_2020_08_24_115921.902717.json
- Use the following command to see the results in a browser:
- xdg-open "/scratch/jcohen/results_csa_t1_20200824/qc/index.html"
- + sct_label_utils -i sub-unf06_T1w_RPI_r_seg_labeled.nii.gz -vert-body 0 -o sub-unf06_T1w_RPI_r_labels.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Value = 1.0 : (94.3094958968347, 106.6271981242673, 153.6822977725674) --> ( 94.0, 107.0, 154.0)
- Value = 2.0 : (94.8192883895131, 104.7312734082397, 140.0365168539326) --> ( 95.0, 105.0, 140.0)
- Value = 3.0 : (95.28728813559322, 102.73813559322033, 124.35254237288136) --> ( 95.0, 103.0, 124.0)
- Value = 4.0 : (95.47850770478507, 100.41200324412003, 108.23276561232765) --> ( 95.0, 100.0, 108.0)
- Value = 5.0 : (95.39362699156514, 97.70759137769447, 93.28209934395501) --> ( 95.0, 98.0, 93.0)
- Value = 6.0 : (95.1880341880342, 94.63995726495726, 79.68482905982906) --> ( 95.0, 95.0, 80.0)
- Value = 7.0 : (94.88470873786407, 90.99514563106796, 65.53398058252426) --> ( 95.0, 91.0, 66.0)
- Value = 8.0 : (94.21221864951768, 86.19078242229368, 48.11146838156485) --> ( 94.0, 86.0, 48.0)
- Value = 9.0 : (93.49939831528279, 80.67509025270758, 28.557160048134776) --> ( 93.0, 81.0, 29.0)
- Value = 10.0 : (92.71603427172583, 74.81272949816402, 9.458996328029375) --> ( 93.0, 75.0, 9.0)
- + file_label=sub-unf06_T1w_RPI_r_seg_labeled
- ++ date +%s
- + end=1598284765
- + runtime=141
- + echo '+++++++++++ TIME: Duration of labelling: 0hrs 2min 21sec'
- +++++++++++ TIME: Duration of labelling: 0hrs 2min 21sec
- + sct_maths -i sub-unf06_T1w_RPI_r_seg.nii.gz -dilate 15 -shape cube -o sub-unf06_T1w_RPI_r_seg_dil.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- + sct_crop_image -i sub-unf06_T1w_RPI_r.nii.gz -m sub-unf06_T1w_RPI_r_seg_dil.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Bounding box: x=[81, 110], y=[63, 124], z=[0, 181]
- Cropping the image...
- + file=sub-unf06_T1w_RPI_r_crop
- + sct_crop_image -i sub-unf06_T1w_RPI_r_seg.nii.gz -m sub-unf06_T1w_RPI_r_seg_dil.nii.gz
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Bounding box: x=[81, 110], y=[63, 124], z=[0, 181]
- Cropping the image...
- + file_seg=sub-unf06_T1w_RPI_r_seg_crop
- + cd ../
- + for r_coef in '${R_COEFS[@]}'
- + '[' -d anat_r1 ']'
- + '[' -f /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_1.csv ']'
- + mkdir anat_r1
- + cd anat_r1
- + file_r=sub-unf06_T1w_RPI_r_crop_r1
- + affine_rescale -i ../anat/sub-unf06_T1w_RPI_r_crop.nii.gz -r 1 -o sub-unf06_T1w_RPI_r_crop_r1.nii.gz
- + file_label_r=sub-unf06_T1w_RPI_r_crop_r1_seg_labeled
- + affine_rescale -i ../anat/sub-unf06_T1w_RPI_r_seg_labeled.nii.gz -r 1 -o sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz
- ++ seq 3
- + seq_transfo='1
- 2
- 3'
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284774
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t1
- /home/jcohen/csa-atrophy/config_script_t1.yml
- error /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv is not present in current directory
- creating new file named /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1.nii.gz------------
- min padding: 12
- data shape (image with padding): (53, 85, 205)
- angles of rotation IS: 1.0147294948978292 PA: 4.069185169325963 LR: 0.17215954206281636
- number of pixel shift LR: -0.928893845819897 PA: -0.9456222281688037 IS: -0.9667602118338176
- rotation matrix:
- [[ 0.99732266 0.0176648 -0.07096099]
- [-0.01749618 0.99984244 0.00299717]
- [ 0.07100275 -0.0017476 0.99747459]]
- new image shape: (53, 85, 205)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_t1.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r1_t1
- ++ date +%s
- + end=1598284777
- + runtime=3
- + echo '+++++++++++ TIME: Duration of of image transfo t1: 0hrs 0min 3sec'
- +++++++++++ TIME: Duration of of image transfo t1: 0hrs 0min 3sec
- ++ date +%s
- + start=1598284777
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t1 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.96676
- [1 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz------------
- [ 1.01472949 4.06918517 0.17215954 -0.92889385 -0.94562223 -0.96676021]
- min padding: 19
- data shape (image with padding): (230, 298, 358)
- angles of rotation IS: 1.0147294948978292 PA: 4.069185169325963 LR: 0.17215954206281636
- number of pixel shift LR: -0.9288938458198969 PA: -0.9456222281688036 IS: -0.9667602118338176
- rotation matrix:
- [[ 0.99732266 0.0176648 -0.07096099]
- [-0.01749618 0.99984244 0.00299717]
- [ 0.07100275 -0.0017476 0.99747459]]
- new image shape: (230, 298, 358)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t1.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t1
- ++ date +%s
- + end=1598284781
- + runtime=4
- + echo '+++++++++++ TIME: Duration of labelling transfo t1: 0hrs 0min 4sec'
- +++++++++++ TIME: Duration of labelling transfo t1: 0hrs 0min 4sec
- ++ date +%s
- + start=1598284781
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r1_t1 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r1_t1
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r1_t1_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t1_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t1_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r1_t1.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824115944.453624-qqajhkbp)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824115945.612946-sj33k_fe
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Found isolated voxels on slice 12, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824115944.453624-qqajhkbp
- ++ date +%s
- + end=1598284799
- + runtime=18
- + echo '+++++++++++ TIME: Duration of segmentation t1: 0hrs 0min 18sec'
- +++++++++++ TIME: Duration of segmentation t1: 0hrs 0min 18sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r1_t1_seg
- ++ date +%s
- + start=1598284799
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r1_t1_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t1.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_1.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_1.csv
- ++ date +%s
- + end=1598284810
- + runtime=11
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t1: 0hrs 0min 11sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t1: 0hrs 0min 11sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284810
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t2
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.96676
- [1 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1.nii.gz------------
- min padding: 12
- data shape (image with padding): (53, 85, 205)
- angles of rotation IS: 0.9502297212101474 PA: 3.133148412586383 LR: 1.8690583233055535
- number of pixel shift LR: -0.5218223559038349 PA: -2.298637032844812 IS: -1.3913306427280492
- rotation matrix:
- [[ 0.9983679 0.01655909 -0.05465651]
- [-0.01479265 0.99936009 0.03256668]
- [ 0.05516081 -0.03170502 0.99797399]]
- new image shape: (53, 85, 205)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_t2.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r1_t2
- ++ date +%s
- + end=1598284812
- + runtime=2
- + echo '+++++++++++ TIME: Duration of of image transfo t2: 0hrs 0min 2sec'
- +++++++++++ TIME: Duration of of image transfo t2: 0hrs 0min 2sec
- ++ date +%s
- + start=1598284812
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t2 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- [2 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz------------
- [ 0.95022972 3.13314841 1.86905832 -0.52182236 -2.29863703 -1.39133064]
- min padding: 17
- data shape (image with padding): (226, 294, 354)
- angles of rotation IS: 0.9502297212101474 PA: 3.133148412586383 LR: 1.869058323305553
- number of pixel shift LR: -0.5218223559038349 PA: -2.298637032844812 IS: -1.3913306427280492
- rotation matrix:
- [[ 0.9983679 0.01655909 -0.05465651]
- [-0.01479265 0.99936009 0.03256668]
- [ 0.05516081 -0.03170502 0.99797399]]
- new image shape: (226, 294, 354)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t2.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t2
- ++ date +%s
- + end=1598284815
- + runtime=3
- + echo '+++++++++++ TIME: Duration of labelling transfo t2: 0hrs 0min 3sec'
- +++++++++++ TIME: Duration of labelling transfo t2: 0hrs 0min 3sec
- ++ date +%s
- + start=1598284815
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r1_t2 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r1_t2
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r1_t2_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t2_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t2_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r1_t2.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824120019.055133-bhnvi8jp)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824120020.228546-rhrja68g
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Found isolated voxels on slice 10, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824120019.055133-bhnvi8jp
- ++ date +%s
- + end=1598284834
- + runtime=19
- + echo '+++++++++++ TIME: Duration of segmentation t2: 0hrs 0min 19sec'
- +++++++++++ TIME: Duration of segmentation t2: 0hrs 0min 19sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r1_t2_seg
- ++ date +%s
- + start=1598284834
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r1_t2_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t2.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_1.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_1.csv
- ++ date +%s
- + end=1598284844
- + runtime=10
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t2: 0hrs 0min 10sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t2: 0hrs 0min 10sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284844
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t3
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- [2 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1.nii.gz------------
- min padding: 11
- data shape (image with padding): (51, 83, 203)
- angles of rotation IS: 0.13973713424306422 PA: 3.3397165921697147 LR: -3.823019329505657
- number of pixel shift LR: -0.46656751979763655 PA: 0.7140995112739934 IS: -0.47383479363495407
- rotation matrix:
- [[ 0.99829871 0.00243473 -0.05825605]
- [-0.00631764 0.99776232 -0.06656154]
- [ 0.05796363 0.06681634 0.99608021]]
- new image shape: (51, 83, 203)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_t3.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r1_t3
- ++ date +%s
- + end=1598284846
- + runtime=2
- + echo '+++++++++++ TIME: Duration of of image transfo t3: 0hrs 0min 2sec'
- +++++++++++ TIME: Duration of of image transfo t3: 0hrs 0min 2sec
- ++ date +%s
- + start=1598284846
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t3 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- [3 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled.nii.gz------------
- [ 0.13973713 3.33971659 -3.82301933 -0.46656752 0.71409951 -0.47383479]
- min padding: 17
- data shape (image with padding): (226, 294, 354)
- angles of rotation IS: 0.13973713424306422 PA: 3.3397165921697147 LR: -3.823019329505657
- number of pixel shift LR: -0.4665675197976366 PA: 0.7140995112739934 IS: -0.4738347936349541
- rotation matrix:
- [[ 0.99829871 0.00243473 -0.05825605]
- [-0.00631764 0.99776232 -0.06656154]
- [ 0.05796363 0.06681634 0.99608021]]
- new image shape: (226, 294, 354)
- new image path: sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t3.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t3
- ++ date +%s
- + end=1598284849
- + runtime=3
- + echo '+++++++++++ TIME: Duration of labelling transfo t3: 0hrs 0min 3sec'
- +++++++++++ TIME: Duration of labelling transfo t3: 0hrs 0min 3sec
- ++ date +%s
- + start=1598284849
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r1_t3 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r1_t3
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r1_t3_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t3_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r1_t3_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r1_t3.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824120053.227051-1l4bj3yb)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824120054.392481-eeh0gynj
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Found isolated voxels on slice 13, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824120053.227051-1l4bj3yb
- ++ date +%s
- + end=1598284868
- + runtime=19
- + echo '+++++++++++ TIME: Duration of segmentation t3: 0hrs 0min 19sec'
- +++++++++++ TIME: Duration of segmentation t3: 0hrs 0min 19sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r1_t3_seg
- ++ date +%s
- + start=1598284868
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r1_t3_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t3.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_1.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_1.csv
- ++ date +%s
- + end=1598284878
- + runtime=10
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t3: 0hrs 0min 10sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t3: 0hrs 0min 10sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + cd ../
- + for r_coef in '${R_COEFS[@]}'
- + '[' -d anat_r0.99 ']'
- + '[' -f /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_0.99.csv ']'
- + mkdir anat_r0.99
- + cd anat_r0.99
- + file_r=sub-unf06_T1w_RPI_r_crop_r0.99
- + affine_rescale -i ../anat/sub-unf06_T1w_RPI_r_crop.nii.gz -r 0.99 -o sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz
- + file_label_r=sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled
- + affine_rescale -i ../anat/sub-unf06_T1w_RPI_r_seg_labeled.nii.gz -r 0.99 -o sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz
- ++ seq 3
- + seq_transfo='1
- 2
- 3'
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284880
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t1
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- [3 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz------------
- min padding: 15
- data shape (image with padding): (59, 91, 211)
- angles of rotation IS: -4.9535057934310425 PA: -1.5208746228765413 LR: -4.087507788654044
- number of pixel shift LR: -1.7253999638572965 PA: -1.8723482978172217 IS: 0.262686820980052
- rotation matrix:
- [[ 0.99591413 -0.08631691 0.02654115]
- [ 0.08801247 0.99356759 -0.07125486]
- [-0.02021993 0.07329967 0.99710497]]
- new image shape: (59, 91, 211)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_t1.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_t1
- ++ date +%s
- + end=1598284882
- + runtime=2
- + echo '+++++++++++ TIME: Duration of of image transfo t1: 0hrs 0min 2sec'
- +++++++++++ TIME: Duration of of image transfo t1: 0hrs 0min 2sec
- ++ date +%s
- + start=1598284882
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t1 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- 3 sub-unf06_T1w_RPI_r_crop_r0.99_t1 -4.953506 ... -1.872348 0.262687
- [4 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz------------
- [-4.95350579 -1.52087462 -4.08750779 -1.72539996 -1.8723483 0.26268682]
- min padding: 24
- data shape (image with padding): (240, 308, 368)
- angles of rotation IS: -4.9535057934310425 PA: -1.5208746228765413 LR: -4.087507788654044
- number of pixel shift LR: -1.7253999638572963 PA: -1.8723482978172217 IS: 0.262686820980052
- rotation matrix:
- [[ 0.99591413 -0.08631691 0.02654115]
- [ 0.08801247 0.99356759 -0.07125486]
- [-0.02021993 0.07329967 0.99710497]]
- new image shape: (240, 308, 368)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t1.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t1
- ++ date +%s
- + end=1598284886
- + runtime=4
- + echo '+++++++++++ TIME: Duration of labelling transfo t1: 0hrs 0min 4sec'
- +++++++++++ TIME: Duration of labelling transfo t1: 0hrs 0min 4sec
- ++ date +%s
- + start=1598284886
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r0.99_t1 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r0.99_t1
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r0.99_t1.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824120129.857126-btlg3mak)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824120131.133600-nwnb5n41
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Removing small objects above slice #187
- Found isolated voxels on slice 17, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824120129.857126-btlg3mak
- ++ date +%s
- + end=1598284905
- + runtime=19
- + echo '+++++++++++ TIME: Duration of segmentation t1: 0hrs 0min 19sec'
- +++++++++++ TIME: Duration of segmentation t1: 0hrs 0min 19sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg
- ++ date +%s
- + start=1598284905
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t1.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_0.99.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_0.99.csv
- ++ date +%s
- + end=1598284916
- + runtime=11
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t1: 0hrs 0min 11sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t1: 0hrs 0min 11sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284916
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t2
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- 3 sub-unf06_T1w_RPI_r_crop_r0.99_t1 -4.953506 ... -1.872348 0.262687
- [4 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz------------
- min padding: 14
- data shape (image with padding): (57, 89, 209)
- angles of rotation IS: 4.770791246041469 PA: -3.5411216126031575 LR: -3.062796328020827
- number of pixel shift LR: 0.2765008022644977 PA: 1.1462728919039673 IS: -1.3383387656440187
- rotation matrix:
- [[ 0.99463273 0.08301104 0.06176489]
- [-0.07976234 0.99538638 -0.05332841]
- [-0.06590678 0.04811567 0.99666503]]
- new image shape: (57, 89, 209)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_t2.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_t2
- ++ date +%s
- + end=1598284918
- + runtime=2
- + echo '+++++++++++ TIME: Duration of of image transfo t2: 0hrs 0min 2sec'
- +++++++++++ TIME: Duration of of image transfo t2: 0hrs 0min 2sec
- ++ date +%s
- + start=1598284918
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t2 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- 3 sub-unf06_T1w_RPI_r_crop_r0.99_t1 -4.953506 ... -1.872348 0.262687
- 4 sub-unf06_T1w_RPI_r_crop_r0.99_t2 4.770791 ... 1.146273 -1.338339
- [5 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz------------
- [ 4.77079125 -3.54112161 -3.06279633 0.2765008 1.14627289 -1.33833877]
- min padding: 22
- data shape (image with padding): (236, 304, 364)
- angles of rotation IS: 4.770791246041469 PA: -3.541121612603157 LR: -3.0627963280208266
- number of pixel shift LR: 0.2765008022644977 PA: 1.1462728919039673 IS: -1.3383387656440189
- rotation matrix:
- [[ 0.99463273 0.08301104 0.06176489]
- [-0.07976234 0.99538638 -0.05332841]
- [-0.06590678 0.04811567 0.99666503]]
- new image shape: (236, 304, 364)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t2.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t2
- ++ date +%s
- + end=1598284922
- + runtime=4
- + echo '+++++++++++ TIME: Duration of labelling transfo t2: 0hrs 0min 4sec'
- +++++++++++ TIME: Duration of labelling transfo t2: 0hrs 0min 4sec
- ++ date +%s
- + start=1598284922
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r0.99_t2 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r0.99_t2
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r0.99_t2.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824120206.133607-umnmn9ce)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824120207.333446-rdv7oylo
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Removing small objects above slice #185
- Found isolated voxels on slice 15, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824120206.133607-umnmn9ce
- ++ date +%s
- + end=1598284941
- + runtime=19
- + echo '+++++++++++ TIME: Duration of segmentation t2: 0hrs 0min 19sec'
- +++++++++++ TIME: Duration of segmentation t2: 0hrs 0min 19sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg
- ++ date +%s
- + start=1598284941
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t2.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_0.99.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_0.99.csv
- ++ date +%s
- + end=1598284952
- + runtime=11
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t2: 0hrs 0min 11sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t2: 0hrs 0min 11sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + for i_transfo in '${seq_transfo[@]}'
- ++ date +%s
- + start=1598284952
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t3
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- 3 sub-unf06_T1w_RPI_r_crop_r0.99_t1 -4.953506 ... -1.872348 0.262687
- 4 sub-unf06_T1w_RPI_r_crop_r0.99_t2 4.770791 ... 1.146273 -1.338339
- [5 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99.nii.gz------------
- min padding: 15
- data shape (image with padding): (59, 91, 211)
- angles of rotation IS: -4.204389143138094 PA: 2.9509432255613954 LR: 4.585272987567009
- number of pixel shift LR: 0.5251689807739296 PA: -0.5420044863829454 IS: 2.4734709768066425
- rotation matrix:
- [[ 0.99598641 -0.07321738 -0.05148091]
- [ 0.0771844 0.99381521 0.07983671]
- [ 0.04531708 -0.0834898 0.99547768]]
- new image shape: (59, 91, 211)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_t3.nii.gz
- + file_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_t3
- ++ date +%s
- + end=1598284954
- + runtime=2
- + echo '+++++++++++ TIME: Duration of of image transfo t3: 0hrs 0min 2sec'
- +++++++++++ TIME: Duration of of image transfo t3: 0hrs 0min 2sec
- ++ date +%s
- + start=1598284954
- + affine_transfo -i sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz -transfo /scratch/jcohen/results_csa_t1_20200824/results/transfo_values.csv -config /home/jcohen/csa-atrophy/config_script_t1.yml -o _t3 -interpolation 0
- /home/jcohen/csa-atrophy/config_script_t1.yml
- subjects angle_IS ... shift_PA shift_IS
- 0 sub-unf06_T1w_RPI_r_crop_r1_t1 1.014729 ... -0.945622 -0.966760
- 1 sub-unf06_T1w_RPI_r_crop_r1_t2 0.950230 ... -2.298637 -1.391331
- 2 sub-unf06_T1w_RPI_r_crop_r1_t3 0.139737 ... 0.714100 -0.473835
- 3 sub-unf06_T1w_RPI_r_crop_r0.99_t1 -4.953506 ... -1.872348 0.262687
- 4 sub-unf06_T1w_RPI_r_crop_r0.99_t2 4.770791 ... 1.146273 -1.338339
- 5 sub-unf06_T1w_RPI_r_crop_r0.99_t3 -4.204389 ... -0.542004 2.473471
- [6 rows x 7 columns]
- ----------affine transformation subject: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled.nii.gz------------
- [-4.20438914 2.95094323 4.58527299 0.52516898 -0.54200449 2.47347098]
- min padding: 24
- data shape (image with padding): (240, 308, 368)
- angles of rotation IS: -4.204389143138094 PA: 2.9509432255613954 LR: 4.585272987567008
- number of pixel shift LR: 0.5251689807739296 PA: -0.5420044863829454 IS: 2.4734709768066425
- rotation matrix:
- [[ 0.99598641 -0.07321738 -0.05148091]
- [ 0.0771844 0.99381521 0.07983671]
- [ 0.04531708 -0.0834898 0.99547768]]
- new image shape: (240, 308, 368)
- new image path: sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t3.nii.gz
- + file_label_r_t=sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t3
- ++ date +%s
- + end=1598284958
- + runtime=4
- + echo '+++++++++++ TIME: Duration of labelling transfo t3: 0hrs 0min 4sec'
- +++++++++++ TIME: Duration of labelling transfo t3: 0hrs 0min 4sec
- ++ date +%s
- + start=1598284958
- + segment_if_does_not_exist sub-unf06_T1w_RPI_r_crop_r0.99_t3 t1
- + local file=sub-unf06_T1w_RPI_r_crop_r0.99_t3
- + local contrast=t1
- + local qc=
- + FILESEG=sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg
- + FILESEGMANUAL=/home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg-manual.nii.gz
- + '[' -e /home/jcohen/data-multi-subject/derivatives/labels/sub-unf06/anat/sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg-manual.nii.gz ']'
- + sct_deepseg_sc -i sub-unf06_T1w_RPI_r_crop_r0.99_t3.nii.gz -c t1
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Config deepseg_sc:
- Centerline algorithm: svm
- Brain in image: True
- Kernel dimension: 2d
- Contrast: t1
- Threshold: 0.15
- Create temporary folder (/tmp/sct-20200824120242.004760-84s3q4n5)...
- Reorient the image to RPI, if necessary...
- Finding the spinal cord centerline...
- Remove temporary files...
- rm -rf /tmp/sct-20200824120243.249478-fvo8due8
- Cropping the image around the spinal cord...
- Normalizing the intensity...
- Segmenting the spinal cord using deep learning on 2D patches...
- Reassembling the image...
- Resampling the segmentation to the native image resolution using linear interpolation...
- Binarizing the resampled segmentation...
- Found isolated voxels on slice 17, Removing them
- Remove temporary files...
- rm -rf /tmp/sct-20200824120242.004760-84s3q4n5
- ++ date +%s
- + end=1598284977
- + runtime=19
- + echo '+++++++++++ TIME: Duration of segmentation t3: 0hrs 0min 19sec'
- +++++++++++ TIME: Duration of segmentation t3: 0hrs 0min 19sec
- + file_r_t_seg=sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg
- ++ date +%s
- + start=1598284977
- + sct_process_segmentation -i sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg.nii.gz -vert 2:5 -perlevel 1 -vertfile sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t3.nii.gz -o /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_0.99.csv
- --
- Spinal Cord Toolbox (git-master-253936cfc07712c587d9f4cfbbcb760f151172f0)
- Done! To view results, type:
- xdg-open /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_0.99.csv
- ++ date +%s
- + end=1598284988
- + runtime=11
- + echo '+++++++++++ TIME: Duration of sct_process_segmentation t3: 0hrs 0min 11sec'
- +++++++++++ TIME: Duration of sct_process_segmentation t3: 0hrs 0min 11sec
- + FILES_TO_CHECK+=("$PATH_RESULTS/csa_perlevel_${SUBJECT}_t${i_transfo}_${r_coef}.csv" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_r_t_seg}.nii.gz" "$PATH_DATA_PROCESSED/${SUBJECT}/anat_r${r_coef}/${file_label_r_t}.nii.gz")
- + cd ../
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_1.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t1.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t1_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t1.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_1.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t2.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t2_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t2.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_1.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t3.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_t3_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r1/sub-unf06_T1w_RPI_r_crop_r1_seg_labeled_t3.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t1_0.99.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t1.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t1_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t1.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t2_0.99.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t2.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t2_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t2.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/results/csa_perlevel_sub-unf06_t3_0.99.csv ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t3.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_t3_seg.nii.gz ']'
- + for file in '${FILES_TO_CHECK[@]}'
- + '[' '!' -e /scratch/jcohen/results_csa_t1_20200824/data_processed/sub-unf06/anat_r0.99/sub-unf06_T1w_RPI_r_crop_r0.99_seg_labeled_t3.nii.gz ']'
- ++ date +%s
- + end=1598284988
- + runtime=11
- + echo
- + echo '~~~'
- ~~~
- ++ sct_version
- + echo 'SCT version: git-master-253936cfc07712c587d9f4cfbbcb760f151172f0'
- SCT version: git-master-253936cfc07712c587d9f4cfbbcb760f151172f0
- ++ uname -nsr
- + echo 'Ran on: Linux gra824 3.10.0-1127.8.2.el7.x86_64'
- Ran on: Linux gra824 3.10.0-1127.8.2.el7.x86_64
- + echo 'Duration: 0hrs 0min 11sec'
- Duration: 0hrs 0min 11sec
- + echo '~~~'
- ~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement