Skip to content

Commit 2c463b2

Browse files
committed
fix Attachments import in build_model
1 parent ecce8f5 commit 2c463b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/core/build_spec/build_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ def build_model(
812812
kwargs = {k: v for k, v in optional_kwargs.items() if v is not None}
813813

814814
if attachments is not None:
815-
kwargs["attachments"] = model_spec.raw_nodes.Attachments(**attachments)
815+
kwargs["attachments"] = spec.rdf.raw_nodes.Attachments(**attachments)
816816
if dependencies is not None:
817817
kwargs["dependencies"] = _get_dependencies(dependencies, root)
818818
if maintainers is not None:

0 commit comments

Comments
 (0)