Commit bc061837 authored by Mateusz Pawlik's avatar Mateusz Pawlik

Moved storing the params after execution, not to store params if there's an error.

parent 21e8a5b1
......@@ -172,8 +172,6 @@ for a in data['algorithms']:
"dataset_filename" : filename
})
print("EXECUTING: " + filename + ";" + a + ";" + str(t))
if args.store and not args.debug:
new_params_id = store_ted_experiment_params(args.service_name, ted_experiment_params)
# build command that needs to be executed
cmd = []
......@@ -205,6 +203,7 @@ for a in data['algorithms']:
if args.store and not args.debug:
print("STORING ...")
new_params_id = store_ted_experiment_params(args.service_name, ted_experiment_params)
store_multirow_results(
args.service_name,
table_names[a],
......
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