Hello,
I tried the code with demo data, but still has the same error about .tiff
AttributeError Traceback (most recent call last)
Cell In[19], line 1
----> 1 a = LazyTiff(df.iloc[0].caiman.get_input_movie_path())
2 a.shape
File ~\anaconda3\envs\mescore\lib\site-packages\mesmerize_core\arrays_tiff.py:27, in LazyTiff.init(self, path, shape)
13 """
14 Lazy reader for tiff files. WIP, works for some tiff files.
15 Try tifffile.memmap first before trying LazyTiff
(...)
23 manually set shape
24 """
26 self._tif = tifffile.TiffFile(path)
---> 27 tiffseries = self._tif.series[0].levels[0]
29 if shape is None:
30 # TODO: someone who's better with tiff can help on this
31 if len(self._tif.pages) == 1:
AttributeError: 'TiffPageSeries' object has no attribute 'levels'
Hello, I tried the code with demo data, but still has the same error about .tiff
AttributeError Traceback (most recent call last) Cell In[19], line 1 ----> 1 a = LazyTiff(df.iloc[0].caiman.get_input_movie_path()) 2 a.shape
File ~\anaconda3\envs\mescore\lib\site-packages\mesmerize_core\arrays_tiff.py:27, in LazyTiff.init(self, path, shape) 13 """ 14 Lazy reader for tiff files. WIP, works for some tiff files. 15 Try
tifffile.memmap
first before tryingLazyTiff
(...) 23 manually set shape 24 """ 26 self._tif = tifffile.TiffFile(path) ---> 27 tiffseries = self._tif.series[0].levels[0] 29 if shape is None: 30 # TODO: someone who's better with tiff can help on this 31 if len(self._tif.pages) == 1:AttributeError: 'TiffPageSeries' object has no attribute 'levels'