Skip to content

Commit b3bb51a

Browse files
Remove commented code
1 parent db37462 commit b3bb51a

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/geophires_x/GEOPHIRESv3.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,6 @@ def main(enable_geophires_logging_config=True):
4242
# write the outputs as JSON
4343
import jsons, json
4444

45-
# import pickle
46-
47-
# Use Pickle to dump the current model in its entirety
48-
# pickle_outputfile = 'HDR.pkl'
49-
# if len(sys.argv) > 2:
50-
# pickle_outputfile = str(sys.argv[2])
51-
# segs = pickle_outputfile.split('.')
52-
# pickle_outputfile = segs[0] + '.pkl'
53-
# with open(pickle_outputfile, 'wb') as f:
54-
# pickle.dump(model, f)
55-
56-
# # Use Pickle to load an example model output
57-
# with open('example1.pkl', 'rb') as f:
58-
# mod1 = pickle.load(f)
59-
60-
# the is redundant, but used here as an example
61-
# with open(pickle_outputfile, 'rb') as f:
62-
# mod1a = pickle.load(f)
63-
64-
# Use recursive_diff to compare the two models
65-
# from recursive_diff import recursive_diff
66-
# for diff in recursive_diff(mod1.reserv, mod1a.reserv, abs_tol=0.0001):
67-
# print(diff)
68-
6945
jsons.suppress_warnings(True)
7046
json_resrv = jsons.dumps(model.reserv.OutputParameterDict, indent=4, sort_keys=True, supress_warnings=True)
7147
json_wells = jsons.dumps(model.wellbores.OutputParameterDict, indent=4, sort_keys=True, supress_warnings=True)

0 commit comments

Comments
 (0)