Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing command line interface for the run command. #348

Merged

Conversation

sergey-serebryakov
Copy link
Contributor

This commit fixes bugs associated with the MLCube's run command:

  • It now uses correct option decorators from the cli (class Options) instead of deprecated decorators from the __main__.py file.
  • It now uses the -P option to correctly parse MLCube parameters that users provide on a command line.

The latter particularly fixes the #347 issue. This commit also adjusts the python coding guidelines for the __main__.py file.

This commit fixes bugs associated with the MLCube's `run` command:
- It now uses correct option decorators from the `cli` (class Options) instead of deprecated decorators from the `__main__.py` file.
- It now uses the `-P` option to correctly parse MLCube parameters that users provide on a command line.

The latter particularly fixes the mlcommons#347 issue.
@sergey-serebryakov sergey-serebryakov requested a review from a team as a code owner December 11, 2023 21:54
Copy link
Contributor

github-actions bot commented Dec 11, 2023

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@sergey-serebryakov sergey-serebryakov merged commit 4938fe6 into mlcommons:master Dec 11, 2023
2 checks passed
@sergey-serebryakov sergey-serebryakov deleted the bugfix/run-cli-cmd branch December 11, 2023 22:47
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant