Skip to content

Commit d5c9e43

Browse files
Update geoapps_utils/modelling/plates.py
Co-authored-by: domfournier <dominiquef@mirageoscience.com>
1 parent 348d094 commit d5c9e43

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

geoapps_utils/modelling/plates.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)