We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c7d5e1 commit 7b2a06aCopy full SHA for 7b2a06a
1 file changed
simpeg_drivers/utils/synthetics/driver.py
@@ -10,7 +10,7 @@
10
11
import numpy as np
12
from geoh5py import Workspace
13
-from geoh5py.data import FloatData
+from geoh5py.data import BooleanData, FloatData
14
from geoh5py.objects import DrapeModel, ObjectBase, Octree, Surface
15
16
from simpeg_drivers.utils.synthetics.meshes.factory import get_mesh
@@ -87,7 +87,7 @@ def mesh(self):
87
@property
88
def active(self):
89
entity = self.mesh.get_entity(self.options.active.name)[0]
90
- assert isinstance(entity, FloatData | type(None))
+ assert isinstance(entity, BooleanData | type(None))
91
if entity is None:
92
entity = get_active(self.mesh, self.topography)
93
self._active = entity
0 commit comments