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

feat: models api #191

Merged
merged 5 commits into from
Mar 6, 2025
Merged

feat: models api #191

merged 5 commits into from
Mar 6, 2025

Conversation

wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Mar 5, 2025

Continuing #190. Check in a registry file registry.txt and model mapping file models.toml covering the test models repositories:

Enforcing unix line endings was necessary in both test model repositories to get pooch hash checks to pass.

Also add some tests, and update pyproject.toml so the registry will be included in the published package.

I'm not convinced on checking the registry/mapping files in, because they're huge, but it's convenient for testing. And it is much better than duplicating the input files to achieve all this anyway. I guess we could generate the registry before testing, and at release time for distribution with the published package. But that slows down testing.

@wpbonelli
Copy link
Contributor Author

wpbonelli commented Mar 6, 2025

Hopefully we can ditch py3.9 and ignore those failures.

Not sure yet on the inconsistent fails on newer pythons. fixed

@wpbonelli wpbonelli marked this pull request as ready for review March 6, 2025 22:46
@wpbonelli wpbonelli merged commit 1d787a4 into MODFLOW-ORG:develop Mar 6, 2025
17 checks passed
@wpbonelli wpbonelli deleted the models branch March 6, 2025 22:48
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