Skip to content

Commit

Permalink
chore: commands vocabulary and help (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes authored Jan 26, 2025
1 parent e23934e commit 8a30d22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/anemoi/inference/commands/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class RequestCmd(Command):
"""Inspect the contents of a checkpoint file."""
"""MARS request utility."""

need_logging = False

Expand Down
2 changes: 1 addition & 1 deletion src/anemoi/inference/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


class RunCmd(Command):
"""Inspect the contents of a checkpoint file."""
"""Run inference from a config yaml file."""

need_logging = False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
LOG = logging.getLogger(__name__)


class SanatiseCmd(Command):
"""Sanetise a checkpoint file."""
class SanitiseCmd(Command):
"""Sanitise a checkpoint file."""

def add_arguments(self, command_parser):
command_parser.add_argument("path", help="Path to the checkpoint.")
Expand All @@ -39,4 +39,4 @@ def run(self, args):
LOG.info("Metadata is already sanitised")


command = SanatiseCmd
command = SanitiseCmd
2 changes: 1 addition & 1 deletion src/anemoi/inference/commands/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class ValidateCmd(Command):
"""Inspect the contents of a checkpoint file."""
"""Validate the virtual environment against a checkpoint file."""

def add_arguments(self, command_parser):

Expand Down

0 comments on commit 8a30d22

Please sign in to comment.