Skip to content

Commit eea5157

Browse files
Parse simulation metadata calculation time in result (will be used in unit test for precision)
1 parent 9aba846 commit eea5157

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/geophires_x_client/geophires_x_result.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,10 @@ class GeophiresXResult:
346346
'Average Annual Total Heating Production',
347347
'Average Annual Electricity Use for Pumping',
348348
],
349-
'Simulation Metadata': [_StringValueField('GEOPHIRES Version')],
349+
'Simulation Metadata': [
350+
_StringValueField('GEOPHIRES Version'),
351+
'Calculation Time',
352+
],
350353
}
351354
)
352355

src/geophires_x_schema_generator/geophires-result.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@
555555
"Simulation Metadata": {
556556
"type": "object",
557557
"properties": {
558-
"GEOPHIRES Version": {}
558+
"GEOPHIRES Version": {},
559+
"Calculation Time": {}
559560
}
560561
}
561562
}

0 commit comments

Comments
 (0)