Skip to content

Commit 56f6fe5

Browse files
committed
use entity_type to refer to inputs/outputs/parameters
1 parent b9dc406 commit 56f6fe5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

petab/v2/extensions/sciml_lint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ def _nn_entity_petab_ids(
8888
# Only consider references to actual neural networks.
8989
if nn_ids and match.group("nn_id") not in nn_ids:
9090
continue
91-
buckets[match.group("kind")][mapping.petab_id] = match.group("nn_id")
91+
buckets[match.group("entity_type")][mapping.petab_id] = match.group(
92+
"nn_id"
93+
)
9294
return inputs, outputs, parameters
9395

9496

0 commit comments

Comments
 (0)