Skip to content

make simulation child collections lists - #444

Merged
wpbonelli merged 2 commits into
modflowpy:developfrom
wpbonelli:sim-child-lists
Oct 9, 2026
Merged

wpbonelli merged 2 commits into
modflowpy:developfrom
wpbonelli:sim-child-lists

Conversation

@wpbonelli

Copy link
Copy Markdown
Member

Simulation.models, exchanges and solutiongroup were dicts whose keys silently overrode the children's own names. Make them lists like model packages. This simplifies a bunch of things

Closes #261

Simulation.models, exchanges and solutiongroup were dicts whose keys
silently overrode the children's own names. Make them lists like model
packages, drop the dict child kind, accept a single child for any list
field, and name unnamed simulation children after their class (gwf,
gwf1, ims).

Closes modflowpy#261

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli wpbonelli added this to the MVP milestone Oct 9, 2026
@wpbonelli
wpbonelli marked this pull request as ready for review October 9, 2026 17:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli
wpbonelli merged commit ead1027 into modflowpy:develop Oct 9, 2026
17 checks passed
@wpbonelli
wpbonelli deleted the sim-child-lists branch October 9, 2026 20:05
wpbonelli added a commit to wpbonelli/pyphoenix-project that referenced this pull request Oct 10, 2026
Simulation child collections are lists since modflowpy#444.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Name assignment patterns for child collections

1 participant