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

dream_simulation: output to standard output

parent 697d9340
...@@ -1430,10 +1430,13 @@ def main(argv=[], input_data=None): ...@@ -1430,10 +1430,13 @@ def main(argv=[], input_data=None):
outputJSONString=json.dumps(G.outputJSON, indent=True) outputJSONString=json.dumps(G.outputJSON, indent=True)
G.outputJSONFile.write(outputJSONString) G.outputJSONFile.write(outputJSONString)
#logger.info("execution time="+str(time.time()-start)) #logger.info("execution time="+str(time.time()-start))
if input_data: if input_data:
return outputJSONString return outputJSONString
# Output on stdout
print outputJSONString
if __name__ == '__main__': if __name__ == '__main__':
# cProfile.run('main()') # cProfile.run('main()')
......
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