Commit b27e94c9 authored by Martin Bauer's avatar Martin Bauer
Browse files

Added parameter study to kida vortex flow benchmark

parent 27366695
......@@ -183,7 +183,8 @@ class ParameterStudy:
import hashlib
return hashlib.sha1(json.dumps(dictionary, sort_keys=True).encode()).hexdigest()
assert hash_dict(d['params']) == hash_dict(run.parameter_dict)
assert hash_dict(d['params']) == hash_dict(run.parameter_dict), \
str(d['params']) + "is not equal to " + str(run.parameter_dict)
self.parameterStudy.db.save(run.parameter_dict,
result=d['result'], env=d['env'], changed_params=d['changed_params'])
return {}
......
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