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

Use a Rust binary to expose Ribasim CLI #1415

Merged
merged 11 commits into from
Apr 23, 2024
Merged

Use a Rust binary to expose Ribasim CLI #1415

merged 11 commits into from
Apr 23, 2024

Conversation

Hofer-Julian
Copy link
Contributor

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

build/cli_wrapper/.vscode/settings.json Outdated Show resolved Hide resolved
Copy link
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
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
20 of 22 checks passed
@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