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

Use argparse functionality #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexjch
Copy link

@alexjch alexjch commented Jul 26, 2024

  • Use choices for --test argument.
  • Use required for nranks, node_id arguments.

This change makes use of argparse choices mechanism for the '--test'
argument instead of re-creating functionality.

Signed-off-by: Alex V Jaramillo <alex.v.jaramillo@intel.com>
This change marks nranks and node_id arguments as required to use
the argparse argument validation instead of re-create the functinality
in code.

The original validation was left in place, because it is still required
since these values should not be negative.

Signed-off-by: Alex V Jaramillo <alex.v.jaramillo@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant