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: strict AxesTuple constructor #680

Merged
merged 3 commits into from Dec 20, 2021
Merged

fix: strict AxesTuple constructor #680

merged 3 commits into from Dec 20, 2021

Conversation

henryiii
Copy link
Member

Closes #678.

Adding the check actually helped us, too - .metadata was incorrectly
returning an AxesTuple instead of a tuple, and there was an extra unneeded
AxesTuple construction.

@github-actions github-actions bot added the needs changelog Might need a changelog entry label Nov 29, 2021
@github-actions github-actions bot removed the needs changelog Might need a changelog entry label Nov 29, 2021
@henryiii henryiii changed the title fix: AxesTuple constuctor more strict fix: strict AxesTuple constructor Nov 29, 2021
@henryiii henryiii merged commit 88e4d28 into develop Dec 20, 2021
@henryiii henryiii deleted the henryiii/fix/ATcons branch December 20, 2021 23:07
@henryiii
Copy link
Member Author

FYI, even though this is a minor fix, Hist was relying on the buggy behavior, so the next release needs to at least do a minor bump to avoid breaking Hist. 🤦. See scikit-hep/hist#368.

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.

[BUG] (Discussion) Input validation/preprocessing in AxesTuple
1 participant