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

Stop requiring globally unique node ids #1318

Closed
9 tasks done
Hofer-Julian opened this issue Mar 26, 2024 · 2 comments · Fixed by #1513
Closed
9 tasks done

Stop requiring globally unique node ids #1318

Hofer-Julian opened this issue Mar 26, 2024 · 2 comments · Fixed by #1513
Labels
core Issues related to the computational core in Julia python Relates to one of the Ribasim python packages QGIS Ribasim QGIS plugin tech-debt Improvements related to technical debt

Comments

@Hofer-Julian
Copy link
Contributor

Hofer-Julian commented Mar 26, 2024

We recently moved away from requiring globally unique node ids.
However, parts of our code still require it implicitly.
Because of that, we added checks to require it after all.

Tasks:

@Hofer-Julian Hofer-Julian added QGIS Ribasim QGIS plugin core Issues related to the computational core in Julia tech-debt Improvements related to technical debt python Relates to one of the Ribasim python packages labels Mar 26, 2024
@visr visr changed the title Technical dept: stop requiring globally unique node ids Stop requiring globally unique node ids Mar 26, 2024
@Hofer-Julian
Copy link
Contributor Author

Sounds like this can be (nearly?) closed

@visr
Copy link
Member

visr commented Apr 17, 2024

I just unchecked some boxes, which were ticked since the related PRs were merged. But the task revert #x is not done when #x is merged.

evetion added a commit that referenced this issue Jun 5, 2024
Fixes #1318
Fixes #1256

@evetion I didn't touch the Delwaq `node_lookup`. If only Basins are in
the graph, then you can still use an ID as a unique index.

The #1256 fix in 72dcf24 is not tested,
since Ribasim-Python stops us from creating such an invalid model. I
manually confirmed it works by duplicating rows in QGIS.

The `main` methods were needed to fix `pixi run ribasim-core`.

---------

Co-authored-by: Maarten Pronk <8655030+evetion@users.noreply.github.com>
Co-authored-by: Maarten Pronk <git@evetion.nl>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues related to the computational core in Julia python Relates to one of the Ribasim python packages QGIS Ribasim QGIS plugin tech-debt Improvements related to technical debt
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants