Closed sciencecaro closed 2 years ago
Is there any chance you might be able to share one of these datafiles with me?
Thank you for helping me. I send you an email with a link where you can download my file.
This helped a lot, thanks.
Right now the best way to solve this is to set, in the parameters, var_name_hdf5 to 't0/channel0'
If you only had one key inside the hdf5 file, and it were in the root of it, you would not need to set this, but the hdf5 file you have has the following structure:
I will consider adjusting the hdf5 auto-inference logic to try a bit harder to infer structure in some future release (right now the auto-infer code neither filters out obvious metadata nor will it traverse directories), but the answer will generally be, for users of Caiman, that if it can't figure out where your data is in your dataset you'll need to tell it.
Please let me know if setting var_name_hdf5 solves the issue, but I fully expect it to.
I added var_name_hdf5 = '/t0/channel0'
to the mc_dict.
And I had to add it again for the inputs to the Motion correction function.
mc = MotionCorrect(fnames, dview=dview, var_name_hdf5=var_name_hdf5, **opts.get_group('motion'))
Now it's working. Thanks a lot!
For better support, please use the template below to submit your issue. When your issue gets resolved please remember to close it.
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
.If you need to upgrade CaImAn follow the instructions given in the documentation.
Tell us a bit about your setup:
pip install .
/pip install -e .
/conda):mamba create -n caiman -c conda-forge caiman
Describe the issue that you are experiencing
Error when loading my own data as '.h5' file. The '.h5' file was generated via export from an '.oir' file with ImageJ.