Deltares / hydromt_delft3dfm

Delft3D FM plugin for HydroMT
https://deltares.github.io/hydromt_delft3dfm/
GNU General Public License v3.0
9 stars 2 forks source link

Bugfix setup channels and 2d1d links #133

Closed shartgring closed 2 months ago

shartgring commented 3 months ago

Issue addressed

Fixes #131 and #132

Explanation

Some typos and incorrect variable types resulted in errors being raised. This PR solves this by removing the typos and adapting some of the code copied from hydrolib to be able to work with correct variable types. This is not an improvement of the functionality, but merely bigfixing

Checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

shartgring commented 2 months ago

@hboisgon I addressed your points! It will not affect the examples as setup_channels is not included in the examples (thus they are not affected by the changes). I will make an issue that it would be good to include it, as such an example can also be used for tests