Skip to content

Commit 86147a5

Browse files
Ok so far
1 parent 6df0afe commit 86147a5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tidy3d/plugins/smatrix/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ def create_batch(
3939
if parent_batch_id is not None:
4040
parent_task_dict = dict()
4141
for key in modeler.sim_dict.keys():
42-
parent_task_dict[key] = tuple(parent_batch_id,)
42+
parent_task_dict[key] = (parent_batch_id,)
4343
else:
4444
parent_task_dict = None
4545

4646
if group_id is not None:
4747
group_id_dict = dict()
4848
for key in modeler.sim_dict.keys():
49-
group_id_dict[key] = tuple(group_id,)
49+
group_id_dict[key] = (group_id,)
5050
else:
5151
group_id_dict = None
5252

tidy3d/plugins/smatrix/web/api/webapi.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,17 @@ def run(
198198
group_id=batch_task.group_id
199199
)
200200
batch.run()
201-
# postprocess(
202-
# batch_id,
203-
# solver_version=solver_version,
204-
# worker_group=worker_group,
205-
# pay_type=pay_type,
206-
# priority=priority,
207-
# ) # TODO FIX
201+
postprocess(
202+
batch_id,
203+
solver_version=solver_version,
204+
worker_group=worker_group,
205+
pay_type=pay_type,
206+
priority=priority,
207+
) # TODO FIX
208208

209209
from ..core.http_util import http
210210
resp = http.post(
211-
f"tidy3d/projects/{batch_id}/postprocess",
211+
f"tidy3d/projects/{batch.batch_id}/postprocess",
212212
{
213213
"batchType": "RF_SWEEP",
214214
"solverVersion": "dario-rf-0.0.0"

0 commit comments

Comments
 (0)