Skip to content

Validate geometry types in Python.#1760

Merged
visr merged 4 commits into
mainfrom
feat/validate-geometry-types
Aug 27, 2024
Merged

Validate geometry types in Python.#1760
visr merged 4 commits into
mainfrom
feat/validate-geometry-types

Conversation

@evetion
Copy link
Copy Markdown
Member

@evetion evetion commented Aug 26, 2024

Fixes #1730

Also small 🎁 , you can now do:
pixi run generate-testmodels basic to only generate the basic model (works in the same way as pixi run ribasim-core-testmodels basic).

@evetion evetion requested a review from visr August 26, 2024 14:13
Copy link
Copy Markdown
Member

@visr visr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation looks good to me. Need a little test for what happens when you pass the wrong geometry type.

@visr visr added the breaking A change that breaks existing models label Aug 26, 2024
@evetion evetion requested a review from visr August 27, 2024 10:29
@visr visr merged commit 9c35260 into main Aug 27, 2024
@visr visr deleted the feat/validate-geometry-types branch August 27, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking A change that breaks existing models

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allowed geometry types

2 participants