Skip to content
Snippets Groups Projects
Commit 52488eae authored by juga's avatar juga
Browse files

Add cli args to filter results

when generating bw files
parent 42e439af
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,16 @@ def gen_parser(sub):
type=int,
help="Number of most significant digits to round bw "
"when scaling as Torflow. (Default: 3)")
p.add_argument('-p', '--secs-recent', default=None,
help="How many secs in the past are results being "
"still considered. Note this value will supersede "
"data_period in the configuration. (Default: None)")
p.add_argument('-a', '--secs-away', default=DAY_SECS,
help="How many secs results have to be away from each "
"other. (Default: 86400 - one day -)")
p.add_argument('-n', '--min-num', default=NUM_MIN_RESULTS,
help="Mininum number of a results to consider them."
"(Default: 2)")
def main(args, conf):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment