Skip to content

Keep time float64 to avoid cutting events as if they are outside GRL #239

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

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

Conversation

tomaskontrimas
Copy link
Collaborator

Numpy 2.0 introduced stricter casting rules for floats. If compress_data option is set to True, the time field was being compressed to float32 and then compared to float64 numbers from GRL. It leads to failing tests, as some event times fall outside GRL start/stop times.

Current analyses should not be affected, as cvmfs has only numpy<2.0 versions available, and publicdata_ps analyses have default option set to False.

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.

1 participant