Remove calls to the removed network._link1d2d._process()
function in HYDROLIB-core
#130
Closed
7 of 8 tasks
Labels
enhancement
New feature or request
Kind of request
Changing existing functionality
Enhancement Description
The private function
network._link1d2d._process()
was removed from hydrolib-core in Deltares/HYDROLIB-core#674 (which is included in hydrolib-core 0.8.0). The relevant properties are now directly derived from the meshkernel class instead, so updating is also not necessary anymore. Remove the two calls inhydromt_delft3dfm/workflows/mesh.py
:hydromt_delft3dfm/hydromt_delft3dfm/workflows/mesh.py
Line 409 in 32785ba
hydromt_delft3dfm/hydromt_delft3dfm/workflows/mesh.py
Line 538 in 32785ba
Todo:
"ValueError: "Link1d2d" object has no field "link1d2d""
Unknown keywords are detected in section: 'Physics', '['UniFrictType']' (type=value_error)
), might also fix Friction values supplied by user are ignored when using setup_channels #111Unknown keywords are detected in section: 'Lateral', '['quantity']'
AssertionError: {'config.geometry.dztop': AssertionError('property types do not match'), 'config.geometry.dztopunia...
in tests/test_hydromt.py::test_model_build (both models). This was also encountered in some fixing of the tests #129, but a workaround was implemented. This is not sufficient to resolve this. >> resolved by updating some mdu keywords, but preferrably do not commit this.The text was updated successfully, but these errors were encountered: