lamyj / odil

Odil is a C++11 library for the DICOM standard
Other
85 stars 21 forks source link

Cannot read files in Python3 #68

Closed lamyj closed 6 years ago

lamyj commented 6 years ago

Reading a DICOM file using the Python3 wrappers fails:

>>> import odil
>>> odil.Reader.read_file(odil.iostream(open("path.dcm")))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
odil._odil.Exception: Cannot read preamble
lamyj commented 6 years ago

Closed by bb7c510