Skip to content

Commit 01eb0fd

Browse files
committed
rename IncreaseWeightFormatsCmd arg path to output
1 parent 9f0cf83 commit 01eb0fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bioimageio/core/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def input_dataset(stat: Stat):
591591

592592

593593
class IncreaseWeightFormatsCmd(CmdBase, WithSource):
594-
path: CliPositionalArg[Path]
594+
output: CliPositionalArg[Path]
595595
"""The path to write the updated model description to."""
596596

597597
def run(self):
@@ -601,7 +601,7 @@ def run(self):
601601
f"model format {model_descr.format_version} not supported."
602602
+ " Please update the model first."
603603
)
604-
_ = increase_available_weight_formats(model_descr, output_path=self.path)
604+
_ = increase_available_weight_formats(model_descr, output_path=self.output)
605605

606606

607607
JSON_FILE = "bioimageio-cli.json"
@@ -639,7 +639,7 @@ class Bioimageio(
639639
"""Update the metadata format"""
640640

641641
increase_weight_formats: CliSubCommand[IncreaseWeightFormatsCmd] = Field(
642-
alias="incease-weight-formats"
642+
alias="increase-weight-formats"
643643
)
644644
"""Add additional weights to the model descriptions converted from available
645645
formats to improve deployability."""

0 commit comments

Comments
 (0)