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(get_model_paths): fix model order within scenario #156

Merged
merged 1 commit into from
May 21, 2024

Conversation

wpbonelli
Copy link
Contributor

Sort models within each scenario so models can be run in the order returned by get_model_paths(), with flow models preceding other model types. This is critical since this function is used to generate scripts for running the examples which are included in the distribution.

@wpbonelli wpbonelli merged commit 0e3120a into MODFLOW-USGS:develop May 21, 2024
18 checks passed
@wpbonelli wpbonelli deleted the get-model-paths branch May 21, 2024 22:24
wpbonelli added a commit to MODFLOW-USGS/modflow6 that referenced this pull request May 22, 2024
Remove break statement likely leftover from development/debugging, which caused only the first example model to get a test run. This is why the examples script issue addressed by MODFLOW-USGS/modflow-devtools#156, where models were written to runall.[sh/bat] in an order which did not respect flow model dependencies, was not caught before.

After this PR, the runall.[sh/bat] script will be tested, as well as 3 of the separate example scripts picked at random.
@github-actions github-actions bot mentioned this pull request May 30, 2024
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.

1 participant