-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fixed bug with ScanImage's parse_metadata so that it works properly when hStackManager is disabled #373
Conversation
@k1o0, This should fix the bug you found. Please let me know if you run into any more problems. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Two things:
- Any chance @k1o0 could test this just to be sure?
- Maybe we can stub the example file that he shared with us and add it to the examples?
As we have many tiff based systems it might be a good investment of developer time to understand the format to the degree that we can stub so we can add this this and future examples to our testing suite. Probably this discussion deserves its own issue.
Can be tricky to stub sometimes... |
So how come it was not failing? |
It was only testing the metadata parsing function (not e.g. get_video), and instead of Inf, it had some (presumably inaccurate) ints for num_planes and frames_per_slice. |
I was able to successfully extract the metadata and generate an NWB file from the tif. Happy for you to use this file as a test fixture. |
Thanks @k1o0 Thanks for reporting the issue and following up. One final question, can you give us a bit of provenance for the file? what system was used to acquire it and whatever you remember from when you make the recording? |
Ah, I see that you answered here: catalystneuro/neuroconv#1108 (comment) Thanks a bunch. |
Fixes #372