Skip to content

Commit

Permalink
updated packages of "application" formats
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Sep 20, 2023
1 parent fed29dc commit b1b2c82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fileformats/medimage/__init__.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion fileformats/medimage/dicom.py
Original file line number Diff line number Diff line change
@@ -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

# =====================================================================
Expand Down
1 change: 1 addition & 0 deletions fileformats/medimage/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions fileformats/medimage/nifti.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit b1b2c82

Please sign in to comment.