File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
test/test_modules/test_faults Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -554,6 +554,7 @@ def _generate_fault_relation_model(compute_model: bool) -> gp.data.GeoModel:
554554 engine_config = gp .data .GemPyEngineConfig (
555555 backend = gp .data .AvailableBackends .numpy ,
556556 dtype = 'float32'
557- )
557+ ),
558+ validate_serialization = False
558559 )
559560 return geo_model
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ def load_model(path: str) -> GeoModel:
133133
134134 return _load_model_from_bytes (binary_file )
135135
136+
136137def model_to_bytes (model : GeoModel ) -> bytes :
137138 # 1) Make a fully deterministic JSON header
138139 # header_dict = model.model_dump(by_alias=True)
Original file line number Diff line number Diff line change 77
88
99def test_fault_relations_implementation ():
10+ # TODO! (Miguel Dec25) These fault description are not serializing!
1011 model = gp .generate_example_model (ExampleModel .FAULT_RELATION , compute_model = True )
1112
1213 correct_relations = np .array ([
You can’t perform that action at this time.
0 commit comments