Commit 0d300226 authored by Dion Haefner's avatar Dion Haefner

debug

parent 48c0f28b
...@@ -22,12 +22,12 @@ def evaluate(iniinfo,runtime): ...@@ -22,12 +22,12 @@ def evaluate(iniinfo,runtime):
if f1_data.keys() != f2_data.keys(): if f1_data.keys() != f2_data.keys():
print("Data keys do not match: Got {} and {}".format(" ,".join(f1_data.keys()), print("Data keys do not match: Got {} and {}".format(" ,".join(f1_data.keys()),
" ,".join(f2_data.keys())) " ,".join(f2_data.keys())))
return False return False
if f1_attrs.keys() != f2_attrs.keys(): if f1_attrs.keys() != f2_attrs.keys():
print("Attribute keys do not match: Got {} and {}".format(" ,".join(f1_attrs.keys()), print("Attribute keys do not match: Got {} and {}".format(" ,".join(f1_attrs.keys()),
" ,".join(f2_attrs.keys())) " ,".join(f2_attrs.keys())))
for key in f1_data.keys(): for key in f1_data.keys():
if not np.array_equal(f1_data[key],f2_data[key]): if not np.array_equal(f1_data[key],f2_data[key]):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment