-
Notifications
You must be signed in to change notification settings - Fork 141
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
Fixing bug in backward-in-time-writing #1723
Conversation
This fixes #1722, by reverting a change in ed11e43 Thanks for the git-bisect hint, @VeckoTheGecko!
tests/test_particlesets.py
Outdated
which for some reason #1722 | ||
""" | ||
outputdt = timedelta(hours=1) | ||
runtime = timedelta(days=2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I encountered a bit of difficulty writing these tests as even here changing runtime
to days=1
made the bug go away.
@willirath did you also encounter some difficulty writing your minimal example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willirath did you also encounter some difficulty writing your minimal example?
No, I basically posted exactly the code that let me discover the bug. So maybe I was just "lucky".
I think we can benefit with a refactor of We plan to do a patch release where the only difference from v3.0.5 is fixing this bug. Plan:
|
Test discovery wasn't working as intended. Error was only in main for 5 days (so no release affected)
ceed3c1
to
8be1e92
Compare
This fixes #1722, by reverting a change in ed11e43
Thanks for the git-bisect hint, @VeckoTheGecko!