Commit a53f9748 authored by Jérome Perrin's avatar Jérome Perrin

remove print commited by mistake

and add one assertion
parent d218f990
......@@ -52,6 +52,7 @@ class ACO(plugin.ExecutionPlugin):
assert collated
max_results = data['general']['numberOfSolutions']
assert max_results >= 1
ants = [] #list of ants for keeping track of their performance
......@@ -141,6 +142,5 @@ class ACO(plugin.ExecutionPlugin):
result['key'] = ant['key']
result_list.append(result)
print data['result']['result_list']
self.logger.info("ACO finished, execution time %0.2fs" % (time.time() - start))
return data
......@@ -683,7 +683,6 @@ def main(argv=[], input_data=None):
# XXX I am not sure we still need this case
return
print G.JSONData
# XXX result_list is not needed here, we could replace result by result_list
G.JSONData['result'] = {'result_list': [G.outputJSON]}
#logger.info("execution time="+str(time.time()-start))
......
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