From e6f984d9b528662b15090ff3b3995e8b21bc4994 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Thu, 16 Nov 2023 13:14:11 +1100 Subject: [PATCH] updated mime-like for raw data --- xnat_ingest/cli/__init__.py | 1 + xnat_ingest/cli/tests/test_upload.py | 6 +++--- xnat_ingest/tests/test_session.py | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/xnat_ingest/cli/__init__.py b/xnat_ingest/cli/__init__.py index 5efd591..bf487f1 100644 --- a/xnat_ingest/cli/__init__.py +++ b/xnat_ingest/cli/__init__.py @@ -1 +1,2 @@ from .base import cli +from .upload import upload \ No newline at end of file diff --git a/xnat_ingest/cli/tests/test_upload.py b/xnat_ingest/cli/tests/test_upload.py index 08eeea9..93d71ff 100644 --- a/xnat_ingest/cli/tests/test_upload.py +++ b/xnat_ingest/cli/tests/test_upload.py @@ -159,17 +159,17 @@ def test_upload( ("atten_corr", "medimage/dicom-series", "AC CT.*"), ( "listmode", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-list-mode", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-list-mode", ".*(PET_LISTMODE).*", ), ( "sinogram", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-sinogram", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-sinogram", ".*(PET_EM_SINO).*", ), ( "countrate", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-count-rate", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-count-rate", ".*(PET_COUNTRATE).*", ), ]: diff --git a/xnat_ingest/tests/test_session.py b/xnat_ingest/tests/test_session.py index ba4dfe4..635c243 100644 --- a/xnat_ingest/tests/test_session.py +++ b/xnat_ingest/tests/test_session.py @@ -86,17 +86,17 @@ def dataset(tmp_path: Path) -> Dataset: ("atten_corr", "medimage/dicom-series", "AC CT.*"), ( "listmode", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-list-mode", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-list-mode", ".*(PET_LISTMODE).*", ), ( "sinogram", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-sinogram", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-sinogram", ".*(PET_EM_SINO).*", ), ( "countrate", - "medimage/vnd.siemens.biograph-vision-vr20b.pet-count-rate", + "medimage/vnd.siemens.biograph128-vision-vr20b.pet-count-rate", ".*(PET_COUNTRATE).*", ), ]: