Skip to content

Commit

Permalink
Merge branch 'main' into user_demand_constructor_refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Mar 14, 2024
2 parents 4595370 + 6bf9312 commit fccdb5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ribasim_qgis/core/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,5 +867,7 @@ def load_nodes_from_geopackage(path: Path) -> dict[str, Input]:
gpkg_names = geopackage.layers(path)
nodes = {}
for layername in gpkg_names:
nodes[layername] = NODES[layername](path)
klass = NODES.get(layername)
if klass is not None:
nodes[layername] = klass(path)
return nodes

0 comments on commit fccdb5b

Please sign in to comment.