Skip to content

Conversation

franzpoeschel
Copy link
Contributor

[~Series] An error occurred: fileBased output can not be written with no iterations.

This happens, since the new series.snapshots() logic will remove Iterations from the object model once they are closed by the user, leading to a situation where at the end of the Series the Iterations container might be empty.

else if (
series.IOHandler()->m_frontendAccess == Access::READ_LINEAR)
{
std::cout << "Closing Iteration " << *maybe_current_iteration
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: remove this bit again
just as a reminder for myself where this error is caused

@franzpoeschel franzpoeschel added this to the 0.17.0 milestone Apr 22, 2025
@franzpoeschel franzpoeschel enabled auto-merge (squash) April 22, 2025 08:34
@franzpoeschel franzpoeschel merged commit 45708ca into openPMD:dev Apr 22, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant