Skip to content

Commit

Permalink
Other style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette committed Jul 25, 2024
1 parent 1012276 commit b268273
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions npf/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def regress_all_tests( self,
history: int = 1,
on_finish = None,
do_compare:bool = True,
iserie=0, nseries=1) -> Tuple[Build, List[Dataset], List[Dataset]]:
i_serie=0, nseries=1) -> Tuple[Build, List[Dataset], 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 All @@ -170,7 +170,7 @@ def regress_all_tests( self,

nok = 0

for itest,test in enumerate(tests):
for i_test, test in enumerate(tests):
print(test)
if build.version != "local":
print(
Expand Down Expand Up @@ -202,7 +202,7 @@ def early_results(all_data_results, all_time_results):
options=options,
do_test=options.do_test,
on_finish=early_results,
iserie=iserie*len(tests) + itest,
iserie=i_serie*len(tests) + i_test,
nseries=len(tests)*nseries)

if all_results is None and time_results is None:
Expand Down
2 changes: 1 addition & 1 deletion npf/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(self, test_name, options, tags:List, on_finish=None, do_regress=True):
options=options,
do_compare=do_regress,
on_finish=lambda b,dd,td: self.build_list(on_finish,test,b,dd,td) if on_finish else None,
iserie=i_repo,
i_serie=i_repo,
nseries=len(self.repo_list)
)

Expand Down

0 comments on commit b268273

Please sign in to comment.