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

added choices to --tree_builder and other args #207

Merged
merged 3 commits into from
Nov 27, 2017
Merged

added choices to --tree_builder and other args #207

merged 3 commits into from
Nov 27, 2017

Conversation

schultzm
Copy link
Contributor

Without choices under -t, there is nothing to protect the user from doing e.g., -t 16. This would happen if the end-user tried to use -t to mean --threads (which it doesn't). Without the choices, the error from incorrectly using -t is uninformative (try for example run_gubbins.py -v -t 2 alignment.fasta).

For consistency, have added choices to --converge_method, and --raxml_model.

Without choices under `-t`, there is nothing to protect the user from doing e.g., `-t 16`.  This would happen if the end-user tried to use `-t` to mean `--threads` (which it doesn't).  Without the choices, the error is uninformative (try for example `run_gubbins.py -v -t 2 alignment.fasta`).
Copy link
Contributor

@andrewjpage andrewjpage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request.
Andrew

@andrewjpage andrewjpage merged commit c677a77 into nickjcroucher:master Nov 27, 2017
@schultzm
Copy link
Contributor Author

Gladly

nickjcroucher pushed a commit that referenced this pull request Oct 6, 2021
added choices to `--tree_builder` and other args
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.

2 participants