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

BUG: fix ds.all_data() for spherical AMReX datasets #5025

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

Conversation

yut23
Copy link
Member

@yut23 yut23 commented Oct 10, 2024

PR Summary

ds.index.level_dds was being overwritten in _parse_index(), which breaks the all_data() region selector. This PR instead updates domain_right_edge in _parse_header_file(), like we do for cylindrical datasets.

PR Checklist

  • New features are documented, with docstrings and narrative docs
  • Adds a test for any bugs fixed. Adds tests for new features.

@yut23 yut23 added bug code frontends Things related to specific frontends labels Oct 10, 2024
yut23 added a commit to yut23/website that referenced this pull request Oct 10, 2024
@neutrinoceros
Copy link
Member

For future reference, the datasets are registered at yt-project/website#129

@neutrinoceros
Copy link
Member

very nice. Let me add this to the 4.4.0 milestone in case we can squeeze it in before the release is unblocked.

@neutrinoceros neutrinoceros added this to the 4.4.0 milestone Oct 10, 2024
`ds.index.level_dds` was being overwritten in `_parse_index()`, which
breaks the `all_data()` region selector. This commit instead updates
`domain_right_edge` in `_parse_header_file()`, like we do for
cylindrical datasets.
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