diff --git a/esds/debug.py b/esds/debug.py index cac433d..5423461 100644 --- a/esds/debug.py +++ b/esds/debug.py @@ -1,6 +1,6 @@ import sys,time,json import numpy as np -import esds +import esds, json def serialize_int64(obj): if isinstance(obj, np.int64): @@ -112,4 +112,7 @@ class Debug: def debug_infos(file): - print("infos") + f=open(file,'r',encoding='utf8') + data=json.loads(f.readline()) + print("Python Version (used during simulation): ", data["python_version"]) + f.close()