Commit 98a440a1 by Tobias Langer

Fixed error in printing.

parent afffe140
......@@ -93,17 +93,17 @@ def main():
with open('analysis/{}_e2e.dat'.format(args.analysis), 'w') as e2efile:
for key, value in out.items():
for elem in value:
print('{}; {}'.format(key, elem[1], elem[4]), file=e2efile)
print('{}; {}; {}'.format(key, elem[1], elem[4]), file=e2efile)
with open('analysis/{}_misses.dat'.format(args.analysis), 'w') as missesfile:
for key, value in out.items():
for elem in value:
print('{}; {}'.format(key, elem[2], elem[4]), file=missesfile)
print('{}; {}; {}'.format(key, elem[2], elem[4]), file=missesfile)
with open('analysis/{}_response.dat'.format(args.analysis), 'w') as responsefile:
for key, value in out.items():
for elem in value:
print('{}; {}'.format(key, elem[3], elem[4]), file=responsefile)
print('{}; {}; {}'.format(key, elem[3], elem[4]), file=responsefile)
if __name__ == '__main__':
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 sign in to comment