nel-lab / mesmerize-core

High level pandas-based API for batch analysis of Calcium Imaging data using CaImAn
Other
58 stars 15 forks source link

ModuleNotFoundError: No module named 'mesmerize_viz' #283

Closed zhouyi0812 closed 6 months ago

zhouyi0812 commented 6 months ago

Hello! I run cnmfe today and found there is an error show in title, I uninstall the viz and reinstall, but the error still there. Thank you!

kushalkolar commented 6 months ago

You're probably in another env

zhouyi0812 commented 6 months ago

Thank you!! And I also found another error when define the shape:


AttributeError Traceback (most recent call last) Cell In[18], 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'

This time I was successfully run the mesmerize-viz

Thank you!

kushalkolar commented 6 months ago

This is a different thing, please post a new issue.