Skip to content

Commit

Permalink
hotfix: added choices to argparse
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Nov 5, 2023
1 parent dcca78e commit d192334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmsd/calculate_rmsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,7 @@ def parse_arguments(arguments: Optional[Union[str, List[str]]] = None) -> argpar
"Default is Kabsch."
),
metavar="METHOD",
choices=ROTATION_METHODS,
)

# Reorder arguments
Expand All @@ -1743,6 +1744,7 @@ def parse_arguments(arguments: Optional[Union[str, List[str]]] = None) -> argpar
f"{valid_reorder_methods}. "
"Default is Hungarian."
),
choices=REORDER_METHODS,
)
parser.add_argument(
"-ur",
Expand Down

0 comments on commit d192334

Please sign in to comment.