1313
1414import multiprocessing
1515from logging import getLogger
16+ from pathlib import Path
1617
1718import numpy as np
1819from discretize import TensorMesh
1920from discretize .utils import mesh_utils
2021from geoapps_utils .utils .locations import topo_drape_elevation
2122from geoh5py import Workspace
22- from geoh5py .objects import FEMSurvey
2323from geoh5py .shared .merging .drape_model import DrapeModelMerger
2424from geoh5py .ui_json .ui_json import fetch_active_workspace
2525
26- from simpeg_drivers .components .factories import MisfitFactory , SimulationFactory
26+ from simpeg_drivers .components .factories import SimulationFactory
2727from simpeg_drivers .components .meshes import InversionMesh
2828from simpeg_drivers .driver import InversionDriver
2929from simpeg_drivers .utils .utils import xyz_2_drape_model
@@ -129,7 +129,7 @@ def workers(self):
129129 @classmethod
130130 def start_dask_run (
131131 cls ,
132- ifile ,
132+ json_path : Path ,
133133 n_workers : int | None = None ,
134134 n_threads : int | None = None ,
135135 save_report : bool = True ,
@@ -147,5 +147,5 @@ def start_dask_run(
147147 n_workers = cpu_count // n_threads
148148
149149 super ().start_dask_run (
150- ifile , n_workers = n_workers , n_threads = n_threads , save_report = save_report
150+ json_path , n_workers = n_workers , n_threads = n_threads , save_report = save_report
151151 )
0 commit comments