From 2e12fe7c333570065f6aeb02f9aca4f74d940fba Mon Sep 17 00:00:00 2001 From: John Wilkie Date: Thu, 7 Nov 2024 13:06:01 +0000 Subject: [PATCH] Test coverage --- .../data/nifti/BRAINIX_NIFTI_ROI.nii.gz | Bin 0 -> 5279 bytes .../data/nifti/legacy/.v7/metadata.json | 44 + .../nifti/legacy/BRAINIX_NIFTI_ROI.nii.json | 3949 +++++++++++++++++ tests/darwin/data/nifti/nifti.json | 12 + .../data/nifti/no-legacy/.v7/metadata.json | 44 + .../no-legacy/BRAINIX_NIFTI_ROI.nii.json | 3913 ++++++++++++++++ .../importer/formats/import_nifti_test.py | 106 + tests/darwin/importer/importer_test.py | 8 + 8 files changed, 8076 insertions(+) create mode 100644 tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz create mode 100644 tests/darwin/data/nifti/legacy/.v7/metadata.json create mode 100644 tests/darwin/data/nifti/legacy/BRAINIX_NIFTI_ROI.nii.json create mode 100644 tests/darwin/data/nifti/nifti.json create mode 100644 tests/darwin/data/nifti/no-legacy/.v7/metadata.json create mode 100644 tests/darwin/data/nifti/no-legacy/BRAINIX_NIFTI_ROI.nii.json diff --git a/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz b/tests/darwin/data/nifti/BRAINIX_NIFTI_ROI.nii.gz new file mode 100644 index 0000000000000000000000000000000000000000..0eef75055b936f919c9dd0226c37bb44528d441f GIT binary patch literal 5279 zcmeHJ`!}0;9yW6(r&Fe)=yaLkrR^!EHO{KKY#S*tWLhn8DRs+CN4M0ysBSc`scA)3 z8+L~>N=T?snxa9~WzWV@U5W_OafzyX(y%HK5^wDHHD=HJ2hN`3{o#2(NzV6@=Xt)* z=L_BaRO7ctI*Pkn?Pu_E0x7mV?_^qEzJIFJz0dsy??Cux7T&*VrmlTF{OLP8o%Rmr zGg_FvQ!Y+A{r+zP!ZNa)kFIMhy{|i#pWniGAg|gmT@|tl* z(a$N8*M1@J`s&hyBKRalQow1Jt;$wU&^(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