Skip to content

Commit aa1079b

Browse files
committed
fix UpdateCmdBase.run
1 parent b847ced commit aa1079b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bioimageio/core/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,7 @@ def updated(self) -> Union[ResourceDescr, InvalidDescr]:
269269
raise NotImplementedError
270270

271271
def run(self):
272-
original_yaml = open_bioimageio_yaml(self.source).local_source.read_text(
273-
encoding="utf-8"
274-
)
272+
original_yaml = open_bioimageio_yaml(self.source).unparsed_content
275273
assert isinstance(original_yaml, str)
276274
stream = StringIO()
277275

0 commit comments

Comments
 (0)