Implement --config for various commands - #2041
Open
victorlin wants to merge 10 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## victorlin/refine-config #2041 +/- ##
===========================================================
+ Coverage 73.42% 73.44% +0.01%
===========================================================
Files 86 86
Lines 10895 10902 +7
Branches 2129 2129
===========================================================
+ Hits 8000 8007 +7
Misses 2511 2511
Partials 384 384 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
victorlin
force-pushed
the
victorlin/ancestral-config
branch
from
August 18, 2026 00:24
84a4cf1 to
cf04a1a
Compare
5 tasks
victorlin
force-pushed
the
victorlin/ancestral-config
branch
from
August 28, 2026 23:19
cf04a1a to
83f7695
Compare
victorlin
force-pushed
the
victorlin/ancestral-config
branch
from
September 1, 2026 23:27
83f7695 to
3ae0ba4
Compare
Adds the --config option to augur ancestral using patterns from augur refine's --config option. Updated help text to reference both CLI and YAML syntax, now that both are valid options. Added code to handle enums in the schema generating script, since enums are used in ancestral and not refine.
Change the default from False to implicit None, since the option should take a file path not boolean.
The default is already rendered in both CLI help text and docs.
Adds the --config option to augur align using patterns from augur refine's --config option.
Adds the --config option to augur mask using patterns from augur refine's --config option.
Adds the --config option to augur tree using patterns from augur refine's --config option. Updated help text to reference both CLI and YAML syntax, now that both are valid options.
Adds the --config option to augur translate using patterns from augur refine's --config option. Updated help text to reference both CLI and YAML syntax, now that both are valid options.
This keeps the test focused on command-specific functionality rather than parser specifics which change over time.
Adds the --config option to augur traits using patterns from augur refine's --config option.
victorlin
force-pushed
the
victorlin/ancestral-config
branch
from
September 2, 2026 00:05
3ae0ba4 to
471f841
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
Adds the --config option to align, ancestral, mask, traits, translate, and tree using patterns from #2040.
Docs preview: https://nextstrain--2041.org.readthedocs.build/projects/augur/en/2041/usage/cli/ancestral.html#configuration
Related issue(s)
Closes #1987
Checklist