File tree Expand file tree Collapse file tree
simpeg_drivers/plate_simulation/sweep Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# '
99# '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
1010
11+ from __future__ import annotations
12+
1113import shutil
1214import sys
1315from pathlib import Path
2325 uuid_from_values ,
2426)
2527from geoh5py .ui_json .utils import flatten
28+ from typing_extensions import Self
2629
2730from simpeg_drivers .driver import BaseDriver
2831from simpeg_drivers .plate_simulation .driver import PlateSimulationDriver
@@ -82,7 +85,7 @@ def validate_out_group(self, out_group: SimPEGGroup | None) -> SimPEGGroup:
8285 return out_group
8386
8487 @classmethod
85- def start (cls , filepath : str | Path , mode = "r" , ** _ ) -> BaseDriver :
88+ def start (cls , filepath : str | Path , mode = "r" , ** _ ) -> Self :
8689 """Start the parameter sweep from a ui.json file."""
8790 logger .info ("Loading input file . . ." )
8891 filepath = Path (filepath ).resolve ()
You can’t perform that action at this time.
0 commit comments