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

parser cleanup/organization, tuple structuring working (but still clunky) #31

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

wpbonelli
Copy link
Member

Make a proper module for mf6io and add a function to create a parser based on a parameter/block specification.

Also inhomogeneous tuple structuring is working now via a custom class method — this is to support lists where each row can be a record of a different shape/type. This can probably be made generic with a @record decorator that wraps @context and looks for parameters that are unions, and dispatches the initializer in the same way

@wpbonelli wpbonelli merged commit d06424f into modflowpy:develop Sep 6, 2024
14 checks passed
@wpbonelli wpbonelli deleted the cleanup branch September 6, 2024 18:58
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