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

Fix Asserts and typos #835

Merged
merged 5 commits into from
Feb 18, 2025
Merged

Conversation

anne-glerum
Copy link
Contributor

I ran into some Asserts when converting a 3D .grid file into a 2D one. There were some inconstistencies in the Asserts checking the number of grid cells in each direction and some typos that this PR fixes.

Copy link
Member

@MFraters MFraters left a comment

Choose a reason for hiding this comment

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

Thanks for finding and fixing this! I am supprised that this is not tested (I guess because the lines are technically "covered").

Could you fix the failing tests (update the message in the log)?

tests/gwb-grid/grid_help.log
tests/gwb-grid/grid_non_existing_wb.log

Thanks!

@anne-glerum
Copy link
Contributor Author

Sure! I fixed the tests by hand, as I couldn't find a changediff artifact to download and apply. Is there such a thing produced by the tester?

@MFraters
Copy link
Member

Thanks for fixing it. The remaining issue had to with some of the postprocessing of the results, to get rid of run specific info (for example, number of threads, run paths, etc.). I pushed a commit which fixes that.

Sure! I fixed the tests by hand, as I couldn't find a changediff artifact to download and apply. Is there such a thing produced by the tester?

Unfortunately not yet. It has been on my todo list to add since the hack. It might not be much work, so I will give it a go :)

@MFraters
Copy link
Member

@anne-glerum See #837

@MFraters MFraters merged commit 7892794 into GeodynamicWorldBuilder:main Feb 18, 2025
37 checks passed
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.

2 participants