File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,17 +112,17 @@ def from_maxwell_plate(cls, plate: MaxwellPlate) -> Self:
112112 return cls (PlateModel .from_maxwell_plate_geometry (plate .geometry ))
113113
114114 def to_maxwell_plate (
115- self , workspace : Workspace , name : str | None = None
115+ self , workspace : Workspace , ** plate_kwargs
116116 ) -> MaxwellPlate :
117117 """
118118 Save the Plate as a MaxwellPlate entity in the provided workspace.
119119
120120 :param workspace: Workspace to save the MaxwellPlate in.
121- :param name: Name of the MaxwellPlate entity .
121+ :param plate_kwargs: Arguments passed on to the MaxwellPlate instantiation .
122122 """
123123 with fetch_active_workspace (workspace ) as ws :
124124 plate = MaxwellPlate .create (
125- ws , name = name , geometry = self .params .to_maxwell_plate_geometry ()
125+ ws , geometry = self .params .to_maxwell_plate_geometry (), ** plate_kwargs
126126 )
127127 return plate
128128
You can’t perform that action at this time.
0 commit comments