diff --git a/acto/reproduce.py b/acto/reproduce.py index 13c1bbd231..a633b673da 100644 --- a/acto/reproduce.py +++ b/acto/reproduce.py @@ -138,7 +138,7 @@ def repro_setup(v): return None -def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorConfig, **kwargs) -> List[RunResult]: +def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorConfig, acto_namespace: int, **kwargs) -> List[RunResult]: os.makedirs(workdir_path, exist_ok=True) # Setting up log infra logging.basicConfig( @@ -169,7 +169,8 @@ def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorCo is_reproduce=True, input_model=input_model, apply_testcase_f=apply_testcase_f, - reproduce_dir=reproduce_dir) + reproduce_dir=reproduce_dir, + acto_namespace=acto_namespace) errors = acto.run(modes=['normal']) return [error for error in errors if error is not None] @@ -215,5 +216,4 @@ def reproduce_postdiff(workdir_path: str, operator_config: OperatorConfig, acto_ reproduce_dir=args.reproduce_dir, operator_config=args.config, cluster_runtime=args.cluster_runtime) - end_time = datetime.now() - + end_time = datetime.now() \ No newline at end of file