-
Notifications
You must be signed in to change notification settings - Fork 30
File with large number of ROIs is not parsed correctly #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
Comments
Hi @leeleavitt, thank you for taking the time to report a problem! Can you tell me a bit more about your problem? What is the error message that you get when the function "breaks down" and what kind of ND2 file are you using (can you post the metadata?)? Thank you! |
This is my metadata. We have a lot of ROI's identified. I suspect this is the issue. Our data is a video file, where each frame is 2 images. |
Thank you @leeleavitt. It still isn't clear to me what you mean by "it breaks down". Do you receive an error message or do you refer to the fact that If it is the latter case, it seems that your particular ROIs are not parsed correctly. Can you maybe upload the ND2 that is not working to an online file sharing service such as https://www.file.io/ and send it to me? Thank you! |
The file can be found here. I appreciate the help. This package is amazing. Once you discover the issue, could you give me a run down? I'm very interested in getting involved on this project. Below i the error i am getting.
|
I'm sorry, I did not have time to look at this issue but now I do. |
Hello, not sure how to use github very well, so i will just tell you the problem and my solution to this problem.
in the raw_metadata.py file on line 245 it says
number_of_timepoints = raw_roi_dict[six.b('m_vectAnimParams_Size')]
This causes the function to break down so we replace this with
number_of_timepoints = 0
And the function will run fine after this.
The text was updated successfully, but these errors were encountered: