Skip to content

Commit

Permalink
fixed batch
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerflex committed Mar 29, 2022
1 parent 21459bb commit 7e1be86
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tidy3d/web/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,18 +230,14 @@ def __getitem__(self, task_name: TaskName) -> SimulationData:
class Batch(WebContainer):
"""Interface for submitting several :class:`.Simulation` objects to sever."""

simulations: Dict[TaskName, Simulation]
jobs: Dict[TaskName, Job] = None
folder_name: str = "default"

simulations: Dict[TaskName, Simulation] = pd.Field(
...,
title="Simulations",
description="Mapping of task names to Simulations to run as a batch.",
)

jobs: Dict[TaskName, Job] = pd.Field(
...,
None,
title="Simulations",
description="Mapping of task names to individual Job object for each task in the batch. "
"Set by ``Batch.upload``, leave as None.",
Expand Down

0 comments on commit 7e1be86

Please sign in to comment.