Skip to content

Commit 4e18e7c

Browse files
committed
Update MIRIAM organization logic
1 parent c04591f commit 4e18e7c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/bioregistry/external/miriam/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def _process(record: dict[str, Any]) -> Record:
107107
rv[URI_FORMAT_KEY] = primary[URI_FORMAT_KEY]
108108

109109
if organization := primary.get("organization"):
110-
rv["owners"] = [Organization.model_validate(organization)]
110+
organization_model = Organization.model_validate(organization)
111+
rv["owners"] = [organization_model]
111112

112113
extras = []
113114
for provider in rest:

0 commit comments

Comments
 (0)