Skip to content
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

Make frames_per_file calculation in create_file respect outer chunk dimension #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timcnicholls
Copy link
Contributor

@timcnicholls timcnicholls commented Oct 4, 2024

This PR addresses issue #360 , where the file writer plugin errors when attempting to write output files for datasets with outer chunk dimension > 1 over multiple files with a fixed total number of frames. This is fixed by making the frames_per_file calculation in Acquisition::create_file include the outer chunk dimension.

Fixes #360

Copy link
Collaborator

@GDYendell GDYendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have had a go at documenting some of the confusion in the API that this change has uncovered in #365. I am happy for this to be merged now even if it does increase that confusion further, as it is an improvement on the current behaviour.

@timcnicholls and @ajgdls if you could have a read through #365 to see if you agree/disagree and have any further suggestions that would be great 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FP file writer plugin errors in multi-file mode with fixed number of frames for block-mode datasets
2 participants