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

Add fallback for wrong class version. #199

Merged
merged 2 commits into from
Nov 20, 2020

Conversation

jpivarski
Copy link
Member

No description provided.

@jpivarski jpivarski linked an issue Nov 20, 2020 that may be closed by this pull request
@jpivarski
Copy link
Member Author

The reason a test was removed is because it relied on the previous brokenness of its instance versions, which would have been corrected by reading its streamers. Now, though, we switch to the right version preemptively, without relying on a deserialization error to kick us back to the streamers. There are now fewer cases that read streamers, but the test was hard-coded to expect it to have read streamers. I don't know of a case to replace it with.

@jpivarski jpivarski merged commit a474e27 into master Nov 20, 2020
@jpivarski jpivarski deleted the jpivarski/add-fallback-for-wrong-class-version branch November 20, 2020 20:14
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.

DeserializationError while reading file uproot3 can read
1 participant