Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove sample T1w image that is actually T2w #7

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions medimages4tests/mri/neuro/t1w.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@


SAMPLES = {
"ds004130-ON01016": OpenneuroSpec(
dataset="ds004130",
tag="1.0.0",
path="sub-ON01016/anat/sub-ON01016_acq-fspgr_run-01_T1w",
),
# "ds004130-ON01016": OpenneuroSpec(
# dataset="ds004130",
# tag="1.0.0",
# path="sub-ON01016/anat/sub-ON01016_acq-fspgr_run-01_T1w",
# ),
"ds002014-01": OpenneuroSpec(
dataset="ds002014",
tag="1.0.1",
Expand All @@ -30,7 +30,7 @@
}


def get_image(out_dir: Path = None, sample: str = "ds004130-ON01016"):
def get_image(out_dir: Path = None, sample: str = "ds002014-01"):
if out_dir is None:
out_dir = cache_dir / sample
return retrieve_from_openneuro(SAMPLES[sample], out_dir)
2 changes: 1 addition & 1 deletion tests/test_openneuro.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def test_openneuro_retrieve():

nifti = nb.load(nifti_fpath)

assert nifti.shape == (204, 256, 256)
assert nifti.shape == (320, 194, 320)
Loading