diff --git a/ribasim_qgis/core/nodes.py b/ribasim_qgis/core/nodes.py index c65022c59..a27c775f5 100644 --- a/ribasim_qgis/core/nodes.py +++ b/ribasim_qgis/core/nodes.py @@ -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