tidy3d.web.Batch.load_from_task_ids¶
- classmethod Batch.load_from_task_ids(task_ids, task_names=None, base_dir='out/', folder_name='default', draft=False)¶
Load a
Batch
from file containing newline separated list oftask_ids
.- Parameters
task_ids (list) – List of
task_id
strings to load intoBatch
.task_names (list, optional) – List of strings corresponding to
task_name
of eachSimulation
.base_dir (str, optional) – Base of path corresponding to where data for this batch will be stored.
folder_name (str, optional) – Folder to store the
Batch
on the server / UI.draft (bool, optional) – If
True
, each job will be submitted but not run. It can then be visualized in the web UI and run from there when needed.Longer Returned (No) –
------------------ –
Batch –
web.Batch
containing all jobs from list oftask_ids
.