You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running autopipeline --dryrun, get the following error:
Traceback (most recent call last):
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/bin/autopipeline", line 5, in <module>
from imgtools.autopipeline import main
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/__init__.py", line 1, in <module>
from . import io, ops, utils, pipeline
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/io/__init__.py", line 2, in <module>
from .loaders import *
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/io/loaders.py", line 17, in <module>
from ..modules import StructureSet, Dose, PET, Scan, Segmentation
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/modules/__init__.py", line 1, in <module>
from .segmentation import *
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/modules/segmentation.py", line 10, in <module>
from ..utils import array_to_image, image_to_array
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/utils/__init__.py", line 4, in <module>
from .dicomutils import *
File "/Users/katyscott/Documents/RECIST-play/.pixi/envs/default/lib/python3.12/site-packages/imgtools/utils/dicomutils.py", line 63, in <module>
def all_modalities_metadata(dicom_data: Union[pydicom.dataset.FileDataset, pydicom.dicomdir.DicomDir]) -> Dict[str, T]:
^^^^^^^^^^^^^^^^
AttributeError: module 'pydicom' has no attribute 'dicomdir'
From DICOMDIR reference DicomDir is deprecated and will be removed in pydicom v3.0, use :class:~pydicom.fileset.FileSet instead.
The text was updated successfully, but these errors were encountered:
When running autopipeline --dryrun, get the following error:
From DICOMDIR reference
DicomDir
is deprecated and will be removed in pydicom v3.0, use :class:~pydicom.fileset.FileSet
instead.The text was updated successfully, but these errors were encountered: