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

[BUGFIX] Fix erroneous warning thrown when loading Ramses dataset #3017

Merged
merged 2 commits into from
Jan 11, 2021

Conversation

cphyc
Copy link
Member

@cphyc cphyc commented Jan 6, 2021

PR Summary

The RAMSES frontend was erroneously reporting a warning when reading gravity files because of a simple typo. This is not a bug per se, just a minor inconvenience.

Thanks to Aniket Bhagwat for reporting it!

PR Checklist

  • pass black --check yt/
  • pass isort . --check --diff
  • pass flake8 yt/
  • pass flynt yt/ --fail-on-change --dry-run
  • Adds a test for any bugs fixed. Adds tests for new features.

@cphyc cphyc added bug code frontends Things related to specific frontends labels Jan 6, 2021
Copy link
Member

@neutrinoceros neutrinoceros left a comment

Choose a reason for hiding this comment

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

Seems good to me, I'll merge after my suggestion is answered :)

yt/frontends/ramses/field_handlers.py Outdated Show resolved Hide resolved
Co-authored-by: Clément Robert <cr52@protonmail.com>
@neutrinoceros neutrinoceros merged commit 930cb70 into yt-project:master Jan 11, 2021
@cphyc cphyc deleted the fixup/fix_erroneous_warning branch January 11, 2021 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug code frontends Things related to specific frontends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants