Skip to content

Commit f7e0eac

Browse files
authored
Merge pull request #505 from bioimage-io/fix_update_cmd
update and set update_format docstring
2 parents a385deb + c733fc0 commit f7e0eac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bioimageio/spec/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def update_format(
128128
sys.exit(ret_code)
129129

130130

131-
update_format.__doc__ == commands.update_format.__doc__
131+
update_format.__doc__ = commands.update_format.__doc__
132132

133133

134134
@app.command()

bioimageio/spec/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def update_format(
2424
path: Union[os.PathLike, str],
2525
update_to_format: str = "latest",
2626
):
27-
"""Update a BioImage.IO resource"""
27+
"""Auto-update fields of a BioImage.IO resource"""
2828
raw = load_raw_resource_description(rdf_source, update_to_format=update_to_format)
2929
save_raw_resource_description(raw, Path(path))
3030

0 commit comments

Comments
 (0)