Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into PRperfimprov
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette committed Jul 25, 2024
2 parents 59dcc47 + febb1b5 commit ba793fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions npf/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,7 @@ def compare(self,
build.writeversion(test, all_results, allow_overwrite = True)
return tests_passed, tests_total

def regress_all_tests(self,
tests: List['Test'],
options,
history: int = 1,
on_finish = None,
do_compare:bool = True,
iserie=0, nseries=1) -> Tuple[Build, List[Dataset], List[Dataset]]:
def regress_all_tests(self, tests: List['Test'], options, history: int = 1, on_finish = None, iserie=0, nseries=1) -> Tuple[Build, List[Dataset]]:
"""
Execute all tests passed in argument for the last build of the regressor associated repository
:param history: Start regression at last build + 1 - history
Expand Down
4 changes: 2 additions & 2 deletions npf_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():

npf.add_verbosity_options(parser)

parser.add_argument('repos', metavar='repo', type=str, nargs='+', help='names of the repositories to compares. Use a format such as repo+VAR=VAL:Title to overwrite variables and serie name.')
parser.add_argument('repos', metavar='repo', type=str, nargs='+', help='names of the repositories to compare. Use a format such as repo+VAR=VAL:Title to overwrite variables and serie name.')
parser.add_argument('--graph-title', type=str, nargs='?', help='Graph title')

b = npf.add_building_options(parser)
Expand Down Expand Up @@ -62,7 +62,7 @@ def main():
group_series(filename,args,series,time_series,options=args) if args.iterative else None
)

group_series(filename, series, time_series, options=args)
do_graph(filename, args, series, time_series, options=args)

if __name__ == "__main__":
multiprocessing.set_start_method('forkserver')
Expand Down

0 comments on commit ba793fb

Please sign in to comment.