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.
By clicking “Sign up for GitHub”, you agree to our
terms of service
and
privacy statement
. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
For better support, please use the template below to submit your issue.
Sometimes errors while running CNMF occur during parallel processing which prevents the log to provide a meaningful error message.
Please reproduce your error with setting
dview=None
.
Tell us about your operating system (Linux/macOS/Windows) and Python version (2.7/3.x)
Windows 10, 64 bit
Describe the issue that you are experiencing
Once I run demo_pipline_cnmfE.py with my data, I receive an error at component valuation portion of the code.
Copy error log below
If you're not reporting an error, type your message below
Wondering if we should fix this by doing
idx_components_r = np.where(np.array(r_values) >= r_values_min)[0]
Or alternatively making r_values into an np.array earlier in the code
Thank you for your quick response. How can I change the code in the module and have the change executed in the demo files? I've changed the code as you suggested in components_evaluation.py, but the change doesn't affect the demo code even after shutting down the kernel.
Best,
Xhoni
If you were to change this yourself you'd need to do a "pip uninstall caiman" and then redo the "pip install ." for it to take effect.
(my comment was meant to start a conversation internally on how to fix it for the longer term, but if this solves your issue immediately, that's great)
Thank you both for the amount of help here. As I reinstalled the repository on my pc, I tried to run the code on my files, and I received an error on the following portion.
I changed dview=None and this is the error I received:
Thank you again for the help, and sorry for bugging you guys.
Best,
Xhoni
I uninstalled and reinstalled anaconda and the repository on two computers that are windows 10, 64-bit and this is how the contour plot of the accepted and rejected components look like for the demo data:
Best,
Xhoni
This might be rather silly,but perhaps it might be the way I installed caimanmanager.py. I have tested the program on two different computers using windows 10, 64-bit. After doing pip install . , I referred to another issue
#217
, and installed it using python C:\Users\user\Anaconda3\envs\caiman\bins\caimanmanager.py install. Maybe this isn't the correct way of installing it?
Best,
Xhoni
xhonial: The above pull request fixes the issue in our dev branch, and I expect it will be pulled forward into master soon. If you'd like to grab the new version of the notebook, you can grab it from there.
Cheers,