webknossos-libs icon indicating copy to clipboard operation
webknossos-libs copied to clipboard

Dataset.from_images tif conversion failed with AttributeError in PimsImages

Open fm3 opened this issue 2 years ago • 0 comments

Conversion job 6516f962010000cd03861817 of a tiff file failed with this stack trace

  File "/usr/local/lib/python3.11/site-packages/webknossos/dataset/_utils/pims_images.py", line 495, in copy_to_view
    with self._open_images() as images:
  File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/webknossos/dataset/_utils/pims_images.py", line 455, in _open_images
    images.default_coords.update(self._default_coords)
                                 ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PimsImages' object has no attribute '_default_coords'

Talk to me for a reference to the input image to reproduce.

fm3 avatar Oct 02 '23 08:10 fm3