Skip to content

New import names in pydicom 1.0 #351

Closed
@matthew-brett

Description

@matthew-brett

See: https://github.com/darcymason/pydicom/wiki/Porting-to-pydicom-1.0

Need wrapper something like:

try:
    import dicom as pydicom
except ImportError:
    import pydicom

try:
    read_file = pydicom.dicomio.read_file
except AttributeError:
    read_file = pydicom.read_file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions