From 931810b04bcaad8f679e47f8f0b73f4ac6648531 Mon Sep 17 00:00:00 2001 From: Nick Guenther Date: Tue, 6 Apr 2021 11:48:33 -0400 Subject: [PATCH] Migrate to pip --- README.md | 8 ++------ setup.py | 7 +++---- .../{data/dataset => testing/data}/__init__.py | 0 src/spinalcordtoolbox/testing/data/dmri/__init__.py | 2 ++ .../spinalcordtoolbox/testing/data/dmri}/bvals.txt | 0 .../spinalcordtoolbox/testing/data/dmri}/bvecs.txt | 0 .../testing/data/dmri}/dmri.nii.gz | Bin .../testing/data/dmri}/dmri_T0000.nii.gz | Bin .../testing/data/dmri}/dmri_T0001.nii.gz | Bin .../testing/data/dmri}/dmri_T0002.nii.gz | Bin .../testing/data/dmri}/dmri_T0003.nii.gz | Bin .../testing/data/dmri}/dmri_T0004.nii.gz | Bin .../testing/data/dmri}/dmri_T0005.nii.gz | Bin .../testing/data/dmri}/dmri_T0006.nii.gz | Bin .../spinalcordtoolbox/testing/data/dmri}/dwi.nii.gz | Bin .../testing/data/dmri}/dwi_mean.nii.gz | Bin .../data/dmri}/dwi_mean_centerline-optic.csv | 0 .../data/dmri}/dwi_mean_centerline-optic.nii.gz | Bin .../spinalcordtoolbox/testing/data/dmribvecs.txt | 0 src/spinalcordtoolbox/testing/data/fmri/__init__.py | 2 ++ .../testing/data/fmri}/fmri.nii.gz | Bin .../testing/data/fmri}/fmri_r.nii.gz | Bin .../testing/data/fmri}/fmri_tsnr.nii.gz | Bin .../spinalcordtoolbox/testing/data/mt}/README.md | 0 src/spinalcordtoolbox/testing/data/mt/__init__.py | 2 ++ .../testing/data/mt/label/__init__.py | 2 ++ .../data/mt}/label/atlas/PAM50_atlas_00.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_01.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_02.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_03.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_04.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_05.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_06.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_07.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_08.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_09.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_10.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_11.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_12.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_13.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_14.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_15.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_16.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_17.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_18.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_19.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_20.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_21.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_22.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_23.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_24.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_25.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_26.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_27.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_28.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_29.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_30.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_31.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_32.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_33.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_34.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_35.nii.gz | Bin .../data/mt}/label/atlas/PAM50_atlas_36.nii.gz | Bin .../testing/data/mt/label/atlas/__init__.py | 2 ++ .../testing/data/mt}/label/atlas/info_label.txt | 0 .../data/mt}/label/template/PAM50_cord.nii.gz | Bin .../data/mt}/label/template/PAM50_csf.nii.gz | Bin .../testing/data/mt}/label/template/PAM50_gm.nii.gz | Bin .../data/mt}/label/template/PAM50_levels.nii.gz | Bin .../testing/data/mt}/label/template/PAM50_t1.nii.gz | Bin .../testing/data/mt}/label/template/PAM50_t2.nii.gz | Bin .../data/mt}/label/template/PAM50_t2s.nii.gz | Bin .../testing/data/mt}/label/template/PAM50_wm.nii.gz | Bin .../testing/data/mt/label/template/__init__.py | 2 ++ .../testing/data/mt}/label/template/info_label.txt | 0 .../spinalcordtoolbox/testing/data/mt}/mt0.json | 0 .../spinalcordtoolbox/testing/data/mt}/mt0.nii.gz | Bin .../testing/data/mt}/mt0_mask_viewer.nii.gz | Bin .../data/mt}/mt0_reg_slicereg_goldstandard.nii.gz | Bin .../data/mt}/mt0_reg_syn_goldstandard.nii.gz | Bin .../testing/data/mt}/mt0_seg.nii.gz | Bin .../spinalcordtoolbox/testing/data/mt}/mt1.json | 0 .../spinalcordtoolbox/testing/data/mt}/mt1.nii.gz | Bin .../testing/data/mt}/mt1_gmseg.nii.gz | Bin .../testing/data/mt}/mt1_gmseg_goldstandard.nii.gz | Bin .../testing/data/mt}/mt1_point.nii.gz | Bin .../testing/data/mt}/mt1_seg.nii.gz | Bin .../testing/data/mt}/mt1_wmseg.nii.gz | Bin .../spinalcordtoolbox/testing/data/mt}/mtr.nii.gz | Bin .../testing/data/mt}/step1TxTy_poly_groundtruth.csv | 0 .../spinalcordtoolbox/testing/data/mt}/t1w.json | 0 .../spinalcordtoolbox/testing/data/mt}/t1w.nii.gz | Bin .../testing/data/mt}/warp_t22mt1.nii.gz | Bin .../testing/data/mt}/warp_template2mt.nii.gz | Bin src/spinalcordtoolbox/testing/data/t1/__init__.py | 2 ++ .../testing/data/t1}/init_label_vertebrae.txt | 0 .../spinalcordtoolbox/testing/data/t1}/t1w.nii.gz | Bin .../testing/data/t1}/t1w_seg-manual.nii.gz | Bin .../spinalcordtoolbox/testing/data/t2}/README.md | 0 src/spinalcordtoolbox/testing/data/t2/__init__.py | 2 ++ .../testing/data/t2}/init_label_vertebrae.txt | 0 .../testing/data/t2}/labels.nii.gz | Bin .../spinalcordtoolbox/testing/data/t2}/t2.nii.gz | Bin .../testing/data/t2}/t2_centerline-manual.csv | 0 .../testing/data/t2}/t2_centerline-manual.nii.gz | Bin .../testing/data/t2}/t2_centerline-optic.csv | 0 .../testing/data/t2}/t2_centerline-optic.nii.gz | Bin .../testing/data/t2}/t2_contrast_1_mean_ref.nii.gz | Bin .../data/t2}/t2_labeled_center_manual.nii.gz | Bin .../testing/data/t2}/t2_seg-deepseg_sc-2d.nii.gz | Bin .../testing/data/t2}/t2_seg-deepseg_sc-3d.nii.gz | Bin .../testing/data/t2}/t2_seg-manual.nii.gz | Bin .../testing/data/t2}/warp_template2anat.nii.gz | Bin .../data/t2s}/MNI-Poly-AMU_level_crop.nii.gz | Bin src/spinalcordtoolbox/testing/data/t2s/__init__.py | 2 ++ .../spinalcordtoolbox/testing/data/t2s}/t2s.nii.gz | Bin .../testing/data/t2s}/t2s_centerline-optic.csv | 0 .../testing/data/t2s}/t2s_centerline-optic.nii.gz | Bin .../testing/data/t2s}/t2s_gmseg_manual.nii.gz | Bin .../testing/data/t2s}/t2s_seg-deepseg.nii.gz | Bin .../testing/data/t2s}/t2s_seg.nii.gz | Bin .../testing/data/t2s}/t2s_uncropped.nii.gz | Bin .../data/t2s}/t2s_uncropped_gmseg_manual.nii.gz | Bin .../testing/data/template}/README.md | 0 .../testing/data/template/__init__.py | 2 ++ .../data/template}/template/PAM50_small_cord.nii.gz | Bin .../template/PAM50_small_label_disc.nii.gz | Bin .../template/PAM50_small_label_discPosterior.nii.gz | Bin .../template}/template/PAM50_small_levels.nii.gz | Bin .../data/template}/template/PAM50_small_t2.nii.gz | Bin .../template/PAM50_small_t2_pmj_manual.nii.gz | Bin .../testing/data/template/template/__init__.py | 2 ++ .../testing/data/template}/template/info_label.txt | 0 133 files changed, 27 insertions(+), 10 deletions(-) rename src/spinalcordtoolbox/{data/dataset => testing/data}/__init__.py (100%) create mode 100644 src/spinalcordtoolbox/testing/data/dmri/__init__.py rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/bvals.txt (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/bvecs.txt (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0000.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0001.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0002.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0003.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0004.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0005.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dmri_T0006.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dwi.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dwi_mean.nii.gz (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dwi_mean_centerline-optic.csv (100%) rename {dmri => src/spinalcordtoolbox/testing/data/dmri}/dwi_mean_centerline-optic.nii.gz (100%) rename dmribvecs.txt => src/spinalcordtoolbox/testing/data/dmribvecs.txt (100%) create mode 100644 src/spinalcordtoolbox/testing/data/fmri/__init__.py rename {fmri => src/spinalcordtoolbox/testing/data/fmri}/fmri.nii.gz (100%) rename {fmri => src/spinalcordtoolbox/testing/data/fmri}/fmri_r.nii.gz (100%) rename {fmri => src/spinalcordtoolbox/testing/data/fmri}/fmri_tsnr.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/README.md (100%) create mode 100644 src/spinalcordtoolbox/testing/data/mt/__init__.py create mode 100644 src/spinalcordtoolbox/testing/data/mt/label/__init__.py rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_00.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_01.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_02.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_03.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_04.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_05.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_06.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_07.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_08.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_09.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_10.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_11.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_12.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_13.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_14.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_15.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_16.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_17.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_18.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_19.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_20.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_21.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_22.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_23.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_24.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_25.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_26.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_27.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_28.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_29.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_30.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_31.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_32.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_33.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_34.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_35.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/PAM50_atlas_36.nii.gz (100%) create mode 100644 src/spinalcordtoolbox/testing/data/mt/label/atlas/__init__.py rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/atlas/info_label.txt (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_cord.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_csf.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_gm.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_levels.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_t1.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_t2.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_t2s.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/PAM50_wm.nii.gz (100%) create mode 100644 src/spinalcordtoolbox/testing/data/mt/label/template/__init__.py rename {mt => src/spinalcordtoolbox/testing/data/mt}/label/template/info_label.txt (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0.json (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0_mask_viewer.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0_reg_slicereg_goldstandard.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0_reg_syn_goldstandard.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt0_seg.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1.json (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1_gmseg.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1_gmseg_goldstandard.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1_point.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1_seg.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mt1_wmseg.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/mtr.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/step1TxTy_poly_groundtruth.csv (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/t1w.json (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/t1w.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/warp_t22mt1.nii.gz (100%) rename {mt => src/spinalcordtoolbox/testing/data/mt}/warp_template2mt.nii.gz (100%) create mode 100644 src/spinalcordtoolbox/testing/data/t1/__init__.py rename {t1 => src/spinalcordtoolbox/testing/data/t1}/init_label_vertebrae.txt (100%) rename {t1 => src/spinalcordtoolbox/testing/data/t1}/t1w.nii.gz (100%) rename {t1 => src/spinalcordtoolbox/testing/data/t1}/t1w_seg-manual.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/README.md (100%) create mode 100644 src/spinalcordtoolbox/testing/data/t2/__init__.py rename {t2 => src/spinalcordtoolbox/testing/data/t2}/init_label_vertebrae.txt (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/labels.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_centerline-manual.csv (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_centerline-manual.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_centerline-optic.csv (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_centerline-optic.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_contrast_1_mean_ref.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_labeled_center_manual.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_seg-deepseg_sc-2d.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_seg-deepseg_sc-3d.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/t2_seg-manual.nii.gz (100%) rename {t2 => src/spinalcordtoolbox/testing/data/t2}/warp_template2anat.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/MNI-Poly-AMU_level_crop.nii.gz (100%) create mode 100644 src/spinalcordtoolbox/testing/data/t2s/__init__.py rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_centerline-optic.csv (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_centerline-optic.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_gmseg_manual.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_seg-deepseg.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_seg.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_uncropped.nii.gz (100%) rename {t2s => src/spinalcordtoolbox/testing/data/t2s}/t2s_uncropped_gmseg_manual.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/README.md (100%) create mode 100644 src/spinalcordtoolbox/testing/data/template/__init__.py rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_cord.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_label_disc.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_label_discPosterior.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_levels.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_t2.nii.gz (100%) rename {template => src/spinalcordtoolbox/testing/data/template}/template/PAM50_small_t2_pmj_manual.nii.gz (100%) create mode 100644 src/spinalcordtoolbox/testing/data/template/template/__init__.py rename {template => src/spinalcordtoolbox/testing/data/template}/template/info_label.txt (100%) diff --git a/README.md b/README.md index e114123..e06eaa5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ -sct_example_data +sct_testing_data ================ -Example data for the Spinal Cord Toolbox (errsm_30). +Testing data for the [`spinalcordtoolbox`](https://github.com/neuropoly/spinalcordtoolbox). -To release after changes, use [distriploy](https://github.com/neuropoly/distriploy/): -```bash -distriploy --revision rYYYYMMDD release -``` diff --git a/setup.py b/setup.py index 5eaee53..0577881 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ import site, sys; site.ENABLE_USER_SITE = True setup( - name='spinalcordtoolbox-data-', + name='spinalcordtoolbox-data-testing', description='Part of https://github.com/neuropoly/spinalcordtoolbox', long_description=(here / 'README.md').read_text(encoding='utf-8'), long_description_content_type='text/markdown', @@ -16,11 +16,10 @@ author_email='neuropoly@googlegroups.com', url='https://spinalcordtoolbox.com/', project_urls={ - 'Source': 'https://github.com/sct-data/', + 'Source': 'https://github.com/sct-data/sct-testing-data', #'Documentation': '', }, - #license='CC-BY-NC', ?? - #license_files=[ ... ] # TODO? + license_files=[ 'LICENSE' ], packages=find_namespace_packages('src/'), package_dir={"":"src/"}, diff --git a/src/spinalcordtoolbox/data/dataset/__init__.py b/src/spinalcordtoolbox/testing/data/__init__.py similarity index 100% rename from src/spinalcordtoolbox/data/dataset/__init__.py rename to src/spinalcordtoolbox/testing/data/__init__.py diff --git a/src/spinalcordtoolbox/testing/data/dmri/__init__.py b/src/spinalcordtoolbox/testing/data/dmri/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/dmri/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/dmri/bvals.txt b/src/spinalcordtoolbox/testing/data/dmri/bvals.txt similarity index 100% rename from dmri/bvals.txt rename to src/spinalcordtoolbox/testing/data/dmri/bvals.txt diff --git a/dmri/bvecs.txt b/src/spinalcordtoolbox/testing/data/dmri/bvecs.txt similarity index 100% rename from dmri/bvecs.txt rename to src/spinalcordtoolbox/testing/data/dmri/bvecs.txt diff --git a/dmri/dmri.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri.nii.gz similarity index 100% rename from dmri/dmri.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri.nii.gz diff --git a/dmri/dmri_T0000.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0000.nii.gz similarity index 100% rename from dmri/dmri_T0000.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0000.nii.gz diff --git a/dmri/dmri_T0001.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0001.nii.gz similarity index 100% rename from dmri/dmri_T0001.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0001.nii.gz diff --git a/dmri/dmri_T0002.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0002.nii.gz similarity index 100% rename from dmri/dmri_T0002.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0002.nii.gz diff --git a/dmri/dmri_T0003.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0003.nii.gz similarity index 100% rename from dmri/dmri_T0003.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0003.nii.gz diff --git a/dmri/dmri_T0004.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0004.nii.gz similarity index 100% rename from dmri/dmri_T0004.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0004.nii.gz diff --git a/dmri/dmri_T0005.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0005.nii.gz similarity index 100% rename from dmri/dmri_T0005.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0005.nii.gz diff --git a/dmri/dmri_T0006.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dmri_T0006.nii.gz similarity index 100% rename from dmri/dmri_T0006.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dmri_T0006.nii.gz diff --git a/dmri/dwi.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dwi.nii.gz similarity index 100% rename from dmri/dwi.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dwi.nii.gz diff --git a/dmri/dwi_mean.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dwi_mean.nii.gz similarity index 100% rename from dmri/dwi_mean.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dwi_mean.nii.gz diff --git a/dmri/dwi_mean_centerline-optic.csv b/src/spinalcordtoolbox/testing/data/dmri/dwi_mean_centerline-optic.csv similarity index 100% rename from dmri/dwi_mean_centerline-optic.csv rename to src/spinalcordtoolbox/testing/data/dmri/dwi_mean_centerline-optic.csv diff --git a/dmri/dwi_mean_centerline-optic.nii.gz b/src/spinalcordtoolbox/testing/data/dmri/dwi_mean_centerline-optic.nii.gz similarity index 100% rename from dmri/dwi_mean_centerline-optic.nii.gz rename to src/spinalcordtoolbox/testing/data/dmri/dwi_mean_centerline-optic.nii.gz diff --git a/dmribvecs.txt b/src/spinalcordtoolbox/testing/data/dmribvecs.txt similarity index 100% rename from dmribvecs.txt rename to src/spinalcordtoolbox/testing/data/dmribvecs.txt diff --git a/src/spinalcordtoolbox/testing/data/fmri/__init__.py b/src/spinalcordtoolbox/testing/data/fmri/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/fmri/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/fmri/fmri.nii.gz b/src/spinalcordtoolbox/testing/data/fmri/fmri.nii.gz similarity index 100% rename from fmri/fmri.nii.gz rename to src/spinalcordtoolbox/testing/data/fmri/fmri.nii.gz diff --git a/fmri/fmri_r.nii.gz b/src/spinalcordtoolbox/testing/data/fmri/fmri_r.nii.gz similarity index 100% rename from fmri/fmri_r.nii.gz rename to src/spinalcordtoolbox/testing/data/fmri/fmri_r.nii.gz diff --git a/fmri/fmri_tsnr.nii.gz b/src/spinalcordtoolbox/testing/data/fmri/fmri_tsnr.nii.gz similarity index 100% rename from fmri/fmri_tsnr.nii.gz rename to src/spinalcordtoolbox/testing/data/fmri/fmri_tsnr.nii.gz diff --git a/mt/README.md b/src/spinalcordtoolbox/testing/data/mt/README.md similarity index 100% rename from mt/README.md rename to src/spinalcordtoolbox/testing/data/mt/README.md diff --git a/src/spinalcordtoolbox/testing/data/mt/__init__.py b/src/spinalcordtoolbox/testing/data/mt/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/mt/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/src/spinalcordtoolbox/testing/data/mt/label/__init__.py b/src/spinalcordtoolbox/testing/data/mt/label/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/mt/label/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/mt/label/atlas/PAM50_atlas_00.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_00.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_00.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_00.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_01.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_01.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_01.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_01.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_02.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_02.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_02.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_02.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_03.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_03.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_03.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_03.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_04.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_04.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_04.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_04.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_05.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_05.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_05.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_05.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_06.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_06.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_06.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_06.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_07.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_07.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_07.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_07.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_08.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_08.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_08.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_08.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_09.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_09.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_09.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_09.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_10.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_10.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_10.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_10.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_11.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_11.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_11.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_11.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_12.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_12.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_12.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_12.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_13.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_13.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_13.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_13.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_14.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_14.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_14.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_14.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_15.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_15.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_15.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_15.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_16.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_16.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_16.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_16.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_17.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_17.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_17.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_17.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_18.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_18.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_18.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_18.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_19.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_19.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_19.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_19.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_20.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_20.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_20.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_20.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_21.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_21.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_21.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_21.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_22.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_22.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_22.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_22.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_23.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_23.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_23.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_23.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_24.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_24.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_24.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_24.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_25.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_25.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_25.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_25.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_26.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_26.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_26.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_26.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_27.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_27.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_27.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_27.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_28.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_28.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_28.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_28.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_29.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_29.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_29.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_29.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_30.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_30.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_30.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_30.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_31.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_31.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_31.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_31.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_32.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_32.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_32.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_32.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_33.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_33.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_33.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_33.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_34.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_34.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_34.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_34.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_35.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_35.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_35.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_35.nii.gz diff --git a/mt/label/atlas/PAM50_atlas_36.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_36.nii.gz similarity index 100% rename from mt/label/atlas/PAM50_atlas_36.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/PAM50_atlas_36.nii.gz diff --git a/src/spinalcordtoolbox/testing/data/mt/label/atlas/__init__.py b/src/spinalcordtoolbox/testing/data/mt/label/atlas/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/mt/label/atlas/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/mt/label/atlas/info_label.txt b/src/spinalcordtoolbox/testing/data/mt/label/atlas/info_label.txt similarity index 100% rename from mt/label/atlas/info_label.txt rename to src/spinalcordtoolbox/testing/data/mt/label/atlas/info_label.txt diff --git a/mt/label/template/PAM50_cord.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_cord.nii.gz similarity index 100% rename from mt/label/template/PAM50_cord.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_cord.nii.gz diff --git a/mt/label/template/PAM50_csf.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_csf.nii.gz similarity index 100% rename from mt/label/template/PAM50_csf.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_csf.nii.gz diff --git a/mt/label/template/PAM50_gm.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_gm.nii.gz similarity index 100% rename from mt/label/template/PAM50_gm.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_gm.nii.gz diff --git a/mt/label/template/PAM50_levels.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_levels.nii.gz similarity index 100% rename from mt/label/template/PAM50_levels.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_levels.nii.gz diff --git a/mt/label/template/PAM50_t1.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t1.nii.gz similarity index 100% rename from mt/label/template/PAM50_t1.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t1.nii.gz diff --git a/mt/label/template/PAM50_t2.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t2.nii.gz similarity index 100% rename from mt/label/template/PAM50_t2.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t2.nii.gz diff --git a/mt/label/template/PAM50_t2s.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t2s.nii.gz similarity index 100% rename from mt/label/template/PAM50_t2s.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_t2s.nii.gz diff --git a/mt/label/template/PAM50_wm.nii.gz b/src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_wm.nii.gz similarity index 100% rename from mt/label/template/PAM50_wm.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/label/template/PAM50_wm.nii.gz diff --git a/src/spinalcordtoolbox/testing/data/mt/label/template/__init__.py b/src/spinalcordtoolbox/testing/data/mt/label/template/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/mt/label/template/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/mt/label/template/info_label.txt b/src/spinalcordtoolbox/testing/data/mt/label/template/info_label.txt similarity index 100% rename from mt/label/template/info_label.txt rename to src/spinalcordtoolbox/testing/data/mt/label/template/info_label.txt diff --git a/mt/mt0.json b/src/spinalcordtoolbox/testing/data/mt/mt0.json similarity index 100% rename from mt/mt0.json rename to src/spinalcordtoolbox/testing/data/mt/mt0.json diff --git a/mt/mt0.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt0.nii.gz similarity index 100% rename from mt/mt0.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt0.nii.gz diff --git a/mt/mt0_mask_viewer.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt0_mask_viewer.nii.gz similarity index 100% rename from mt/mt0_mask_viewer.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt0_mask_viewer.nii.gz diff --git a/mt/mt0_reg_slicereg_goldstandard.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt0_reg_slicereg_goldstandard.nii.gz similarity index 100% rename from mt/mt0_reg_slicereg_goldstandard.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt0_reg_slicereg_goldstandard.nii.gz diff --git a/mt/mt0_reg_syn_goldstandard.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt0_reg_syn_goldstandard.nii.gz similarity index 100% rename from mt/mt0_reg_syn_goldstandard.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt0_reg_syn_goldstandard.nii.gz diff --git a/mt/mt0_seg.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt0_seg.nii.gz similarity index 100% rename from mt/mt0_seg.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt0_seg.nii.gz diff --git a/mt/mt1.json b/src/spinalcordtoolbox/testing/data/mt/mt1.json similarity index 100% rename from mt/mt1.json rename to src/spinalcordtoolbox/testing/data/mt/mt1.json diff --git a/mt/mt1.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1.nii.gz similarity index 100% rename from mt/mt1.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1.nii.gz diff --git a/mt/mt1_gmseg.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1_gmseg.nii.gz similarity index 100% rename from mt/mt1_gmseg.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1_gmseg.nii.gz diff --git a/mt/mt1_gmseg_goldstandard.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1_gmseg_goldstandard.nii.gz similarity index 100% rename from mt/mt1_gmseg_goldstandard.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1_gmseg_goldstandard.nii.gz diff --git a/mt/mt1_point.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1_point.nii.gz similarity index 100% rename from mt/mt1_point.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1_point.nii.gz diff --git a/mt/mt1_seg.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1_seg.nii.gz similarity index 100% rename from mt/mt1_seg.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1_seg.nii.gz diff --git a/mt/mt1_wmseg.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mt1_wmseg.nii.gz similarity index 100% rename from mt/mt1_wmseg.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mt1_wmseg.nii.gz diff --git a/mt/mtr.nii.gz b/src/spinalcordtoolbox/testing/data/mt/mtr.nii.gz similarity index 100% rename from mt/mtr.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/mtr.nii.gz diff --git a/mt/step1TxTy_poly_groundtruth.csv b/src/spinalcordtoolbox/testing/data/mt/step1TxTy_poly_groundtruth.csv similarity index 100% rename from mt/step1TxTy_poly_groundtruth.csv rename to src/spinalcordtoolbox/testing/data/mt/step1TxTy_poly_groundtruth.csv diff --git a/mt/t1w.json b/src/spinalcordtoolbox/testing/data/mt/t1w.json similarity index 100% rename from mt/t1w.json rename to src/spinalcordtoolbox/testing/data/mt/t1w.json diff --git a/mt/t1w.nii.gz b/src/spinalcordtoolbox/testing/data/mt/t1w.nii.gz similarity index 100% rename from mt/t1w.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/t1w.nii.gz diff --git a/mt/warp_t22mt1.nii.gz b/src/spinalcordtoolbox/testing/data/mt/warp_t22mt1.nii.gz similarity index 100% rename from mt/warp_t22mt1.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/warp_t22mt1.nii.gz diff --git a/mt/warp_template2mt.nii.gz b/src/spinalcordtoolbox/testing/data/mt/warp_template2mt.nii.gz similarity index 100% rename from mt/warp_template2mt.nii.gz rename to src/spinalcordtoolbox/testing/data/mt/warp_template2mt.nii.gz diff --git a/src/spinalcordtoolbox/testing/data/t1/__init__.py b/src/spinalcordtoolbox/testing/data/t1/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/t1/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/t1/init_label_vertebrae.txt b/src/spinalcordtoolbox/testing/data/t1/init_label_vertebrae.txt similarity index 100% rename from t1/init_label_vertebrae.txt rename to src/spinalcordtoolbox/testing/data/t1/init_label_vertebrae.txt diff --git a/t1/t1w.nii.gz b/src/spinalcordtoolbox/testing/data/t1/t1w.nii.gz similarity index 100% rename from t1/t1w.nii.gz rename to src/spinalcordtoolbox/testing/data/t1/t1w.nii.gz diff --git a/t1/t1w_seg-manual.nii.gz b/src/spinalcordtoolbox/testing/data/t1/t1w_seg-manual.nii.gz similarity index 100% rename from t1/t1w_seg-manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t1/t1w_seg-manual.nii.gz diff --git a/t2/README.md b/src/spinalcordtoolbox/testing/data/t2/README.md similarity index 100% rename from t2/README.md rename to src/spinalcordtoolbox/testing/data/t2/README.md diff --git a/src/spinalcordtoolbox/testing/data/t2/__init__.py b/src/spinalcordtoolbox/testing/data/t2/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/t2/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/t2/init_label_vertebrae.txt b/src/spinalcordtoolbox/testing/data/t2/init_label_vertebrae.txt similarity index 100% rename from t2/init_label_vertebrae.txt rename to src/spinalcordtoolbox/testing/data/t2/init_label_vertebrae.txt diff --git a/t2/labels.nii.gz b/src/spinalcordtoolbox/testing/data/t2/labels.nii.gz similarity index 100% rename from t2/labels.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/labels.nii.gz diff --git a/t2/t2.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2.nii.gz similarity index 100% rename from t2/t2.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2.nii.gz diff --git a/t2/t2_centerline-manual.csv b/src/spinalcordtoolbox/testing/data/t2/t2_centerline-manual.csv similarity index 100% rename from t2/t2_centerline-manual.csv rename to src/spinalcordtoolbox/testing/data/t2/t2_centerline-manual.csv diff --git a/t2/t2_centerline-manual.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_centerline-manual.nii.gz similarity index 100% rename from t2/t2_centerline-manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_centerline-manual.nii.gz diff --git a/t2/t2_centerline-optic.csv b/src/spinalcordtoolbox/testing/data/t2/t2_centerline-optic.csv similarity index 100% rename from t2/t2_centerline-optic.csv rename to src/spinalcordtoolbox/testing/data/t2/t2_centerline-optic.csv diff --git a/t2/t2_centerline-optic.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_centerline-optic.nii.gz similarity index 100% rename from t2/t2_centerline-optic.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_centerline-optic.nii.gz diff --git a/t2/t2_contrast_1_mean_ref.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_contrast_1_mean_ref.nii.gz similarity index 100% rename from t2/t2_contrast_1_mean_ref.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_contrast_1_mean_ref.nii.gz diff --git a/t2/t2_labeled_center_manual.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_labeled_center_manual.nii.gz similarity index 100% rename from t2/t2_labeled_center_manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_labeled_center_manual.nii.gz diff --git a/t2/t2_seg-deepseg_sc-2d.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_seg-deepseg_sc-2d.nii.gz similarity index 100% rename from t2/t2_seg-deepseg_sc-2d.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_seg-deepseg_sc-2d.nii.gz diff --git a/t2/t2_seg-deepseg_sc-3d.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_seg-deepseg_sc-3d.nii.gz similarity index 100% rename from t2/t2_seg-deepseg_sc-3d.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_seg-deepseg_sc-3d.nii.gz diff --git a/t2/t2_seg-manual.nii.gz b/src/spinalcordtoolbox/testing/data/t2/t2_seg-manual.nii.gz similarity index 100% rename from t2/t2_seg-manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/t2_seg-manual.nii.gz diff --git a/t2/warp_template2anat.nii.gz b/src/spinalcordtoolbox/testing/data/t2/warp_template2anat.nii.gz similarity index 100% rename from t2/warp_template2anat.nii.gz rename to src/spinalcordtoolbox/testing/data/t2/warp_template2anat.nii.gz diff --git a/t2s/MNI-Poly-AMU_level_crop.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/MNI-Poly-AMU_level_crop.nii.gz similarity index 100% rename from t2s/MNI-Poly-AMU_level_crop.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/MNI-Poly-AMU_level_crop.nii.gz diff --git a/src/spinalcordtoolbox/testing/data/t2s/__init__.py b/src/spinalcordtoolbox/testing/data/t2s/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/t2s/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/t2s/t2s.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s.nii.gz similarity index 100% rename from t2s/t2s.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s.nii.gz diff --git a/t2s/t2s_centerline-optic.csv b/src/spinalcordtoolbox/testing/data/t2s/t2s_centerline-optic.csv similarity index 100% rename from t2s/t2s_centerline-optic.csv rename to src/spinalcordtoolbox/testing/data/t2s/t2s_centerline-optic.csv diff --git a/t2s/t2s_centerline-optic.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_centerline-optic.nii.gz similarity index 100% rename from t2s/t2s_centerline-optic.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_centerline-optic.nii.gz diff --git a/t2s/t2s_gmseg_manual.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_gmseg_manual.nii.gz similarity index 100% rename from t2s/t2s_gmseg_manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_gmseg_manual.nii.gz diff --git a/t2s/t2s_seg-deepseg.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_seg-deepseg.nii.gz similarity index 100% rename from t2s/t2s_seg-deepseg.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_seg-deepseg.nii.gz diff --git a/t2s/t2s_seg.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_seg.nii.gz similarity index 100% rename from t2s/t2s_seg.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_seg.nii.gz diff --git a/t2s/t2s_uncropped.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_uncropped.nii.gz similarity index 100% rename from t2s/t2s_uncropped.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_uncropped.nii.gz diff --git a/t2s/t2s_uncropped_gmseg_manual.nii.gz b/src/spinalcordtoolbox/testing/data/t2s/t2s_uncropped_gmseg_manual.nii.gz similarity index 100% rename from t2s/t2s_uncropped_gmseg_manual.nii.gz rename to src/spinalcordtoolbox/testing/data/t2s/t2s_uncropped_gmseg_manual.nii.gz diff --git a/template/README.md b/src/spinalcordtoolbox/testing/data/template/README.md similarity index 100% rename from template/README.md rename to src/spinalcordtoolbox/testing/data/template/README.md diff --git a/src/spinalcordtoolbox/testing/data/template/__init__.py b/src/spinalcordtoolbox/testing/data/template/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/template/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/template/template/PAM50_small_cord.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_cord.nii.gz similarity index 100% rename from template/template/PAM50_small_cord.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_cord.nii.gz diff --git a/template/template/PAM50_small_label_disc.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_label_disc.nii.gz similarity index 100% rename from template/template/PAM50_small_label_disc.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_label_disc.nii.gz diff --git a/template/template/PAM50_small_label_discPosterior.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_label_discPosterior.nii.gz similarity index 100% rename from template/template/PAM50_small_label_discPosterior.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_label_discPosterior.nii.gz diff --git a/template/template/PAM50_small_levels.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_levels.nii.gz similarity index 100% rename from template/template/PAM50_small_levels.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_levels.nii.gz diff --git a/template/template/PAM50_small_t2.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_t2.nii.gz similarity index 100% rename from template/template/PAM50_small_t2.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_t2.nii.gz diff --git a/template/template/PAM50_small_t2_pmj_manual.nii.gz b/src/spinalcordtoolbox/testing/data/template/template/PAM50_small_t2_pmj_manual.nii.gz similarity index 100% rename from template/template/PAM50_small_t2_pmj_manual.nii.gz rename to src/spinalcordtoolbox/testing/data/template/template/PAM50_small_t2_pmj_manual.nii.gz diff --git a/src/spinalcordtoolbox/testing/data/template/template/__init__.py b/src/spinalcordtoolbox/testing/data/template/template/__init__.py new file mode 100644 index 0000000..ead4c67 --- /dev/null +++ b/src/spinalcordtoolbox/testing/data/template/template/__init__.py @@ -0,0 +1,2 @@ +# empty __init__.py to enable importlib.resources +# see < TODO > diff --git a/template/template/info_label.txt b/src/spinalcordtoolbox/testing/data/template/template/info_label.txt similarity index 100% rename from template/template/info_label.txt rename to src/spinalcordtoolbox/testing/data/template/template/info_label.txt