Skip to content

Commit

Permalink
Clarify help string for --group-by
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Jun 8, 2022
1 parent 5d8ef64 commit 58bae45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def register_arguments(parser):
sequence_filter_group.add_argument('--non-nucleotide', action='store_true', help="exclude sequences that contain illegal characters")

subsample_group = parser.add_argument_group("subsampling", "options to subsample filtered data")
subsample_group.add_argument('--group-by', nargs='+', help="categories with respect to subsample; two virtual fields, \"month\" and \"year\", are supported if they don't already exist as real fields but a \"date\" field does exist")
subsample_group.add_argument('--group-by', nargs='+', help="categories with respect to subsample; If a \"date\" field exists, two generated fields \"month\" and \"year\" are also available and will override any fields with the same name.")
subsample_limits_group = subsample_group.add_mutually_exclusive_group()
subsample_limits_group.add_argument('--sequences-per-group', type=int, help="subsample to no more than this number of sequences per category")
subsample_limits_group.add_argument('--subsample-max-sequences', type=int, help="subsample to no more than this number of sequences; can be used without the group_by argument")
Expand Down

0 comments on commit 58bae45

Please sign in to comment.