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
Copy file name to clipboardExpand all lines: gempy/core/data/geo_model.py
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,8 @@ class GeoModel(BaseModel):
64
64
}
65
65
)
66
66
67
-
meta: GeoModelMeta|None=Field(exclude=False) #: Meta-information about the geological model, like its name, creation and modification dates, and owner.
68
-
69
-
# BUG: Remove None option for structural frame and meta
70
-
structural_frame: Optional[StructuralFrame] |None=Field(exclude=False, default=None) #: The structural information of the geological model.
67
+
meta: GeoModelMeta=Field(exclude=False) #: Meta-information about the geological model, like its name, creation and modification dates, and owner.
68
+
structural_frame: StructuralFrame=Field(exclude=False) #: The structural information of the geological model.
71
69
grid: Grid=Field(exclude=False, default=None) #: The general grid used in the geological model.
geophysics_input: GeophysicsInput=Field(default=None, exclude=True) #: The geophysics input of the geological model.
88
-
input_transform: Transform=Field(default=None, exclude=True) #: The transformation used in the geological model for input points.
86
+
input_transform: Transform=Field(default=None, exclude=False) #: The transformation used in the geological model for input points.
89
87
90
88
interpolation_grid: EngineGrid=Field(default=None, exclude=True) #: ptional grid used for interpolation. Can be seen as a cache field.
91
89
_interpolationInput: InterpolationInput=PrivateAttr(default=None) #: Input data for interpolation. Fed by the structural frame and can be seen as a cache field.
0 commit comments