We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ed7c9 commit b443500Copy full SHA for b443500
extras/fileformats/extras/application/medical.py
@@ -9,11 +9,11 @@
9
try:
10
import pydicom.tag
11
except ImportError:
12
- pydicom = None
+ pydicom = None # type: ignore[assignment]
13
14
import medimages4tests.dummy.dicom.mri.t1w.siemens.skyra.syngo_d13c
15
16
- medimages4tests = None
+ medimages4tests = None # type: ignore[assignment]
17
18
if sys.version_info <= (3, 11):
19
from typing_extensions import TypeAlias
fileformats/application/medical.py
@@ -9,7 +9,7 @@
class Dicom(WithMagicNumber, BinaryFile):
- iana_mime = "application/dicom" # type: ignore[assignment]
+ iana_mime = "application/dicom"
magic_number = b"DICM"
magic_number_offset = 128
binary = True
0 commit comments