Skip to content

Commit

Permalink
Merge branch '569-bumping-meshkernel-version-to-latest-v300' of https…
Browse files Browse the repository at this point in the history
…://github.com/Deltares/HYDROLIB-core into 569-bumping-meshkernel-version-to-latest-v300
  • Loading branch information
veenstrajelmer committed Oct 30, 2023
2 parents 2f0eec2 + 6d46edf commit 3f81bbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hydrolib/core/dflowfm/net/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def read_file(self, file_path: Path) -> None:
reader.read_mesh2d(self)

def _set_mesh2d(self) -> None:
#TODO: setting types is necessary since meshkernel.mesh2d_set requires them very specifically
# TODO: setting types is necessary since meshkernel.mesh2d_set requires them very specifically
mesh2d = mk.Mesh2d(
node_x=self.mesh2d_node_x.astype(np.float64),
node_y=self.mesh2d_node_y.astype(np.float64),
Expand Down
4 changes: 2 additions & 2 deletions tests/dflowfm/test_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from hydrolib.core.basemodel import BaseModel
from hydrolib.core.dflowfm.mdu.models import FMModel
from hydrolib.core.dflowfm.net.models import Branch, Mesh2d, NetworkModel, Network
from hydrolib.core.dflowfm.net.models import Branch, Mesh2d, Network, NetworkModel
from hydrolib.core.dflowfm.net.reader import NCExplorer
from hydrolib.core.dflowfm.net.writer import FillValueConfiguration, UgridWriter

Expand All @@ -20,7 +20,7 @@
def plot_network(network):
_, ax = plt.subplots()
ax.set_aspect(1.0)
network.plot(ax=ax) #TODO: does not exist
network.plot(ax=ax) # TODO: does not exist
ax.autoscale()
plt.show()

Expand Down

0 comments on commit 3f81bbb

Please sign in to comment.