Open jni opened 3 years ago
Thanks for the report. Yes, this is currently a known limitation, the metadata is used exclusively to access frames. It would be good to solve this, but it requires an extensive rewrite that I currently don't have time for unfortunately. I'll leave this as a reminder so I can hopefully look at it again at a later time. Of course, pull request are also more than welcome.
I have an nd2 from a collaborator that contains a single frame out of a longer time series. When I open it with nd2reader, it appears to have 193 time points, as the original time series did. However when I try to access any frame other than
[0]
I (understandably) get aKeyError
. Is there any way for me to introspect this file to know that there is only one time frame within it?example file
Script to reproduce the issue with the provided file:
Output on current master:
Thank you!