Skip to content

Commit

Permalink
Remove key format to reduce complexity
Browse files Browse the repository at this point in the history
Signed-off-by: zjgemi <[email protected]>
  • Loading branch information
zjgemi committed Mar 28, 2024
1 parent 8b5fb4d commit d76a9c1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions dpgen2/superop/caly_evo_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def _caly_evo_step(
run_config: dict = normalize_step_dict({}),
upload_python_packages: Optional[List[os.PathLike]] = None,
):
print(run_config)
prep_config = deepcopy(prep_config)
run_config = deepcopy(run_config)
prep_template_config = prep_config.pop("template_config")
Expand Down Expand Up @@ -243,7 +242,6 @@ def _caly_evo_step(
template=PythonOPTemplate(
run_dp_optim_op,
slices=Slices(
"int('{{item}}')",
input_parameter=["task_name"],
input_artifact=["task_path"],
output_artifact=["traj_results", "optim_results_dir"],
Expand Down
5 changes: 0 additions & 5 deletions dpgen2/superop/prep_run_calypso.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def _prep_run_caly(
name="caly-evo-step",
template=caly_evo_step_op,
slices=Slices(
"int('{{item}}')",
input_parameter=[
"task_name",
],
Expand Down Expand Up @@ -215,10 +214,6 @@ def _prep_run_caly(
"qhull_input": temp_value,
},
key=step_keys["caly-evo-step-{{item}}"],
with_sequence=argo_sequence(
argo_len(prep_caly_input.outputs.parameters["task_names"]),
format=calypso_index_pattern,
),
executor=prep_executor,
**prep_config,
)
Expand Down
1 change: 0 additions & 1 deletion tests/test_caly_evo_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ def test_01(self):
"caly-evo-step",
template=steps,
slices=Slices(
"int('{{item}}')",
input_parameter=[
"task_name",
],
Expand Down

0 comments on commit d76a9c1

Please sign in to comment.