Skip to content

Conversation

@wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Aug 7, 2025

Up to now we conflated the format of definition files (DFN vs TOML) with the data schema we expect their contents to follow. Separate these concerns. Add a schema conversion layer for v1 -> v2 transformations. Refactoring/usability-wise, make Dfn a dataclass instead of a frankenstein typed dict.

Also, drop the renaming of simulation and model components without "-nam". We can do that later, for now stay consistent.

@wpbonelli wpbonelli marked this pull request as ready for review October 9, 2025 15:48
@wpbonelli wpbonelli changed the title feat(dfn): distinguish file format from schema version fix(dfn): distinguish file format from schema version Oct 9, 2025
@wpbonelli wpbonelli added bug Something isn't working enhancement New feature or request labels Oct 9, 2025
@wpbonelli wpbonelli merged commit 526e538 into MODFLOW-ORG:develop Oct 9, 2025
14 checks passed
@wpbonelli wpbonelli deleted the dfn branch October 9, 2025 18:30
@github-actions github-actions bot mentioned this pull request Oct 28, 2025
wpbonelli added a commit to wpbonelli/modflow-devtools that referenced this pull request Jan 20, 2026
Up to now we conflated the format of definition files (DFN vs TOML) with the data schema we expect their contents to follow. Separate these concerns. Add a schema conversion layer for v1 -> v2 transformations. Refactoring/usability-wise, make Dfn a dataclass instead of a frankenstein typed dict. Miscellaneous other tidying. And drop the renaming of simulation and model components without "-nam". We can do that later, for now stay consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant