diff --git a/fileformats/medimage/__init__.py b/fileformats/medimage/__init__.py index 031f0f1..298ae04 100644 --- a/fileformats/medimage/__init__.py +++ b/fileformats/medimage/__init__.py @@ -1,6 +1,6 @@ from ._version import __version__ from .base import MedicalImage -from fileformats.misc import Dicom # imported to alias it here as well +from fileformats.application import Dicom # imported to alias it here as well from .misc import ( # noqa: F401 Analyze, Mgh, diff --git a/fileformats/medimage/dicom.py b/fileformats/medimage/dicom.py index 3ef8837..9ef2c98 100644 --- a/fileformats/medimage/dicom.py +++ b/fileformats/medimage/dicom.py @@ -1,6 +1,6 @@ from fileformats.core import mark from fileformats.generic import Directory, TypedSet -from fileformats.misc import Dicom +from fileformats.application import Dicom from .base import MedicalImage # ===================================================================== diff --git a/fileformats/medimage/misc.py b/fileformats/medimage/misc.py index 6dc18bf..f274d33 100644 --- a/fileformats/medimage/misc.py +++ b/fileformats/medimage/misc.py @@ -43,4 +43,5 @@ class Mgz(Gzip[Mgh]): See https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat """ + iana_mime = "application/x-mgh+zip" ext = ".mgz" diff --git a/fileformats/medimage/nifti.py b/fileformats/medimage/nifti.py index a4f2315..a0d60c3 100644 --- a/fileformats/medimage/nifti.py +++ b/fileformats/medimage/nifti.py @@ -3,9 +3,9 @@ from fileformats.core import mark from fileformats.core.mixin import ( WithSideCars, WithMagicNumber, WithAdjacentFiles) -from fileformats.serialization import Json +from fileformats.application import Json # from fileformats.text import Tsv -from fileformats.archive import Gzip +from fileformats.application import Gzip from .base import MedicalImage