From f3540c8304250659173b24cc3b64959d57e9f14e Mon Sep 17 00:00:00 2001 From: Arthur Flam Date: Wed, 19 Aug 2020 15:48:03 +0300 Subject: [PATCH] Fix wrong tuning --- qaboard/qa.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qaboard/qa.py b/qaboard/qa.py index 5ccb4def..e2f734a5 100755 --- a/qaboard/qa.py +++ b/qaboard/qa.py @@ -479,8 +479,11 @@ def batch(ctx, batches, batches_files, tuning_search_dict, tuning_search_file, n if forwarded_args: run_forwarded_args = [a for a in forwarded_args if not a in ("--keep-previous", "--no-postprocess", "--save-manifests-in-database")] if run_forwarded_args: - run_context.extra_parameters["forwarded_args"] = run_forwarded_args - run_context.extra_parameters.update(tuning_params) + run_context.extra_parameters = {"forwarded_args": run_forwarded_args, **tuning_params} + else: + run_context.extra_parameters = tuning_params + else: + run_context.extra_parameters = tuning_params if list_output_dirs: print(run_context.output_dir)