You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from .encoders.convertersimportinstantiate_if_necessary
19
19
from .encoders.json_geomodel_encoderimportencode_numpy_array
20
-
20
+
from .gridimportGrid
21
21
from .orientationsimportOrientationsTable
22
-
from .surface_pointsimportSurfacePointsTable
23
22
from .structural_frameimportStructuralFrame
24
-
from .gridimportGrid
23
+
from .surface_pointsimportSurfacePointsTable
25
24
from ...modules.data_manipulation.engine_factoryimportinterpolation_input_from_structural_frame
26
25
27
26
"""
@@ -66,14 +65,15 @@ class GeoModel(BaseModel):
66
65
)
67
66
68
67
meta: GeoModelMeta|None=Field(exclude=False) #: Meta-information about the geological model, like its name, creation and modification dates, and owner.
69
-
68
+
70
69
# BUG: Remove None option for structural frame and meta
71
70
structural_frame: Optional[StructuralFrame] |None=Field(exclude=False, default=None) #: The structural information of the geological model.
72
-
grid: Grid=Field(exclude=False, default=None) #: The general grid used in the geological model.
71
+
grid: Grid=Field(exclude=False, default=None) #: The general grid used in the geological model.
73
72
74
73
# region GemPy engine data types
75
74
_interpolation_options: InterpolationOptions#: The interpolation options provided by the user.
0 commit comments