allow tiffs with npages not dividing pageCount to be loaded#279
allow tiffs with npages not dividing pageCount to be loaded#279sofroniewn wants to merge 3 commits intothunder-project:masterfrom sofroniewn:master
Conversation
|
But will it raise a warning? |
|
Currently it does not raise a warning - I can amend the PR such that it does. Alternatively we could keep the default behaviour the same and add some form of keyword argument that tells you to discard the remaining frames if you want. Thoughts? Curious what @freeman-lab thinks is best too |
|
Thinking about at, I am still not sure what would happen if there is a missing volume in the middle of an acquisition, would the keys skip that time point? |
# Conflicts: # thunder/images/readers.py
Currently if npages did not divide pageCount a value error was raised.
This PR changes the behaviour of fromtiff such that now all the data apart from the last few remaining pages will be loaded. These remaining pages are ignored.