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

TST: add image tests for cylindrical pixelization of a box with rmin>0 #5036

Merged

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Oct 31, 2024

PR Summary

In support of #5035 after identifying such cases as blind spots in the test suite.

update: companion PR

Comment on lines +439 to +441
*,
domain_left_edge=None,
domain_right_edge=None,
Copy link
Member Author

Choose a reason for hiding this comment

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

I needed to expose these parameters because we didn't have a fake_ds function that exposed both domain limits and geometry, which explains why the cases I'm interested in here are not covered yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

this is generally useful beyond this PR too. in the past i've run into this and ended up using load_uniform_grid, but it's nice to have it built in to fake_amr_ds!

@neutrinoceros neutrinoceros force-pushed the viz/tst/image_test_cyclindrical_pix branch from 684b8c2 to 5080983 Compare October 31, 2024 15:02
@neutrinoceros neutrinoceros marked this pull request as ready for review October 31, 2024 15:02
@chrishavlin chrishavlin merged commit 3e40eb2 into yt-project:main Oct 31, 2024
13 checks passed
@neutrinoceros neutrinoceros deleted the viz/tst/image_test_cyclindrical_pix branch October 31, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants