Skip to content

Commit

Permalink
refactor: delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzyphysics committed Apr 1, 2024
1 parent 818e72f commit 90e45e6
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions dpgen2/superop/caly_evo_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ def __init__(
"opt_results_dir": InputArtifact(optional=True),
"qhull_input": InputArtifact(optional=True),
}
self._output_parameters = {
# "task_name": OutputParameter(),
}
self._output_parameters = {}
self._output_artifacts = {
"traj_results": OutputArtifact(),
}
Expand All @@ -95,33 +93,7 @@ def __init__(
),
)

self.collect_run_calypso_keys = [
"%s--collect-run-calypso-%s-%s" % (self.inputs.parameters["block_id"], i, j)
for i in range(20)
for j in range(20)
]
self.prep_dp_optim_keys = [
"%s--prep-dp-optim-%s-%s" % (self.inputs.parameters["block_id"], i, j)
for i in range(20)
for j in range(20)
]
self.run_dp_optim_keys = [
"%s--run-dp-optim-%s-%s-%s" % (self.inputs.parameters["block_id"], i, j, k)
for i in range(20)
for j in range(20)
for k in range(50)
]
self._keys = (
self.collect_run_calypso_keys
+ self.prep_dp_optim_keys
+ self.run_dp_optim_keys
)
self.step_keys = {}
for ii in self._keys:
self.step_keys[ii] = "--".join(
["%s" % self.inputs.parameters["block_id"], ii]
)

self = _caly_evo_step(
self,
self.step_keys,
Expand Down

0 comments on commit 90e45e6

Please sign in to comment.