Skip to content

Commit

Permalink
[demorunner] minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaciasc committed Jun 29, 2023
1 parent d483563 commit 9514959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ipol_demo/modules/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ def execute_experiment(
dr_name,
demo_id,
key,
parameters,
params,
inputs_names,
ddl_run,
ddl_general,
Expand All @@ -1687,7 +1687,7 @@ def execute_experiment(
"""
Execute the experiment in the given DR.
"""
parameters = {**parameters}
parameters = {**params}
for i, input_item in inputs_names.items():
parameters[f"orig_input_{i}"] = input_item["origin"]
parameters[f"input_{i}"] = input_item["converted"]
Expand Down
4 changes: 1 addition & 3 deletions ipol_demo/modules/demorunner/demorunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from string import Template
from subprocess import PIPE, Popen
from threading import Lock
from typing import Annotated, Dict, List
from typing import Annotated, List

import Tools.build as build
import Tools.run_demo_base as run_demo_base
Expand Down Expand Up @@ -740,5 +740,3 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE
mkdir_p(settings.main_log_dir)

logger = init_logging()
logger = init_logging()
logger = init_logging()

0 comments on commit 9514959

Please sign in to comment.