Skip to content

Use a Rust binary to expose Ribasim CLI#1415

Merged
Hofer-Julian merged 11 commits intomainfrom
rust-second-try
Apr 23, 2024
Merged

Use a Rust binary to expose Ribasim CLI#1415
Hofer-Julian merged 11 commits intomainfrom
rust-second-try

Conversation

@Hofer-Julian
Copy link
Copy Markdown
Contributor

  • libribasim and ribasim_cli can share the same libraries
  • we get ribasim.exe instead of ribasim.cmd

Comment thread build/cli_wrapper/.vscode/settings.json Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good to also check --version and --help

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Test non-existing TOML and --version and --help.

@Hofer-Julian Hofer-Julian marked this pull request as ready for review April 23, 2024 12:04
@Hofer-Julian Hofer-Julian merged commit 748612f into main Apr 23, 2024
@Hofer-Julian Hofer-Julian deleted the rust-second-try branch April 23, 2024 12:18
@visr visr mentioned this pull request Apr 23, 2024
visr added a commit that referenced this pull request Apr 23, 2024
Follow up of #1415

---------

Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
@visr visr mentioned this pull request Apr 28, 2024
visr added a commit that referenced this pull request Apr 29, 2024
Since LevelDemand and FlowDemand were not AbstractParameterNodes, their
connections were not being validated despite the constraints being set
properly. I noticed since they don't show up in the tables in
https://deltares.github.io/Ribasim/core/validation.html.

LinearResistance and ManningResistance already required 1 in and 1
outflow, just not in validation.

Basin already cannot have outgoing control edges.

Also removes an outdated comment about `ribasim.cmd`. We now only have
one `ribasim.exe` since #1415.
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.

2 participants