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

Fix I/O issues of subset collections with vector members #463

Merged
merged 12 commits into from
Jul 26, 2023

Conversation

tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

  • Make sure to only access vector member buffers of collections of datatypes with VectorMembers if they actually exist. This is necessary to make subset collections of such datatypes work in I/O. Fixes #462
  • Add a test that reproduces the original issue and is fixed by this.

ENDRELEASENOTES

Copy link
Collaborator

@hegner hegner left a comment

Choose a reason for hiding this comment

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

Logic and new tests seem fine to me. Just some nitpicking about formatting and typos. See comments.

python/podio/test_Frame.py Show resolved Hide resolved
tests/read_frame.h Outdated Show resolved Hide resolved
@tmadlener
Copy link
Collaborator Author

Now also fixing the second issue reported in #462 (comment)

Unless we want to have that in another PR?

@hegner hegner merged commit dbf9425 into AIDASoft:master Jul 26, 2023
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subset collections of datatypes with VectorMembers do not work
2 participants