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

motion correction failed #280

Closed Frank497 closed 6 months ago

Frank497 commented 6 months ago

I was trying out the mcorr_cnmf demo notebook and successfully ran the codes and set up dataframe. However, when I perform motion correction (in the "Run an item" section) it gives: 螢幕擷取畫面 2024-03-04 112254

and I ignored it and ran the rest of the code and got this in the "Output" section: 螢幕擷取畫面 2024-03-04 112209 I wonder what went wrong and how could I fix it.

kushalkolar commented 6 months ago

I have a hunch that the latest version of caiman changed imports which then broke thing in movies.get_file_size(). What version of caiman are you on and what version of mesmerize-core?

kushalkolar commented 6 months ago

posted an issue at caiman repo: https://github.com/flatironinstitute/CaImAn/issues/1295

kushalkolar commented 6 months ago

@Frank497 if you go down to v1.10.2 it should work

Frank497 commented 6 months ago

@kushalkolar Thanks I'm on 1.10.3 version caiman and 0.3.0 version mesmerize_core

Frank497 commented 6 months ago

@kushalkolar It do fixed the problem to downgrade the caiman version to v1.10.2. The motion correction performs successfully now, however I met another problem on visualization now