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

Refactor: merge DummyCube & DummyCubeWithCoords #111

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

truth-quark
Copy link
Collaborator

Closes #110.

This PR merges DummyCube & DummyCubeWithCoords into a single object to simulate cubes. The goal is to refactor & simplify test objects, working towards having one obvious class to use for cubes.

Bonus: fixed some white space.

Any comments welcome!

blimlim
blimlim previously approved these changes Sep 26, 2024
Copy link
Collaborator

@blimlim blimlim left a comment

Choose a reason for hiding this comment

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

Changes look good to me and it's nice being able to use the same DummyCubes across the tests! I just had a couple of tiny questions.

test/test_um2netcdf.py Outdated Show resolved Hide resolved
test/test_um2netcdf.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@blimlim blimlim left a comment

Choose a reason for hiding this comment

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

Everything looks good to me!

@truth-quark truth-quark self-assigned this Sep 26, 2024
@truth-quark
Copy link
Collaborator Author

Everything looks good to me!

Nice, I'll wait on @CodeGat's review, then quickly add the PR for refactoring other test objects with one DummyCube to rule them all.

Copy link

@CodeGat CodeGat left a comment

Choose a reason for hiding this comment

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

No problems here!

@truth-quark truth-quark merged commit c1a4a54 into main Sep 26, 2024
4 checks passed
@truth-quark truth-quark deleted the 110/refactor-dummy-cubes branch October 1, 2024 06:57
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.

Refactor: combine DummyCube & DummyCubeWithCoords
4 participants