Skip to content

Commit a9f5a6c

Browse files
committed
feat: add outlier parsing only to clock filter command
1 parent d0a5378 commit a9f5a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

treetime/argument_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ def add_reroot_group(parser):
127127
parser.add_argument('--clock-filter-method', choices=['residual', 'local'], default='residual',
128128
help="Use residuals from global clock (`residual`, default) or local clock deviation (`clock`) "
129129
"to filter out tips that don't follow the clock")
130-
parser.add_argument('--prune-outliers', action='store_true', default=False,
131-
help="remove detected outliers from the output tree")
132130
reroot_group = parser.add_mutually_exclusive_group()
133131
reroot_group.add_argument('--reroot', nargs='+', default='best', help=reroot_description)
134132
reroot_group.add_argument('--keep-root', required = False, action="store_true", default=False,
@@ -305,6 +303,8 @@ def toplevel(params):
305303
add_seq_len_aln_group(c_parser)
306304

307305
add_reroot_group(c_parser)
306+
c_parser.add_argument('--prune-outliers', action='store_true', default=False,
307+
help="remove detected outliers from the output tree")
308308
c_parser.add_argument('--allow-negative-rate', required = False, action="store_true", default=False,
309309
help="By default, rates are forced to be positive. For trees with little temporal "
310310
"signal it is advisable to remove this restriction to achieve essentially mid-point rooting.")

0 commit comments

Comments
 (0)