File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ def create_batch(
39
39
if parent_batch_id is not None :
40
40
parent_task_dict = dict ()
41
41
for key in modeler .sim_dict .keys ():
42
- parent_task_dict [key ] = tuple (parent_batch_id ,)
42
+ parent_task_dict [key ] = (parent_batch_id ,)
43
43
else :
44
44
parent_task_dict = None
45
45
46
46
if group_id is not None :
47
47
group_id_dict = dict ()
48
48
for key in modeler .sim_dict .keys ():
49
- group_id_dict [key ] = tuple (group_id ,)
49
+ group_id_dict [key ] = (group_id ,)
50
50
else :
51
51
group_id_dict = None
52
52
Original file line number Diff line number Diff line change @@ -198,17 +198,17 @@ def run(
198
198
group_id = batch_task .group_id
199
199
)
200
200
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
208
208
209
209
from ..core .http_util import http
210
210
resp = http .post (
211
- f"tidy3d/projects/{ batch_id } /postprocess" ,
211
+ f"tidy3d/projects/{ batch . batch_id } /postprocess" ,
212
212
{
213
213
"batchType" : "RF_SWEEP" ,
214
214
"solverVersion" : "dario-rf-0.0.0"
You can’t perform that action at this time.
0 commit comments