[Avida-cvs] [avida-svn] r685 - branches/developers/avida-edward/source/python/AvidaGui2
gerrishj@myxo.css.msu.edu
gerrishj at myxo.css.msu.edu
Tue May 16 13:02:06 PDT 2006
Author: gerrishj
Date: 2006-05-16 16:02:06 -0400 (Tue, 16 May 2006)
New Revision: 685
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyOneAna_GraphCtrl.py
Log:
Fixed off-by-one error.
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOneAna_GraphCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOneAna_GraphCtrl.py 2006-05-16 19:59:18 UTC (rev 684)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOneAna_GraphCtrl.py 2006-05-16 20:02:06 UTC (rev 685)
@@ -255,7 +255,7 @@
# TODO: get it working with zip
#print zip([data[elem][1][i] for elem in res])
num_updates = len(data[res[0]][0])
- for i in range(num_updates - 1):
+ for i in range(num_updates):
out_file.write("%d,%s\n"
% (i, ",".join([str(data[elem][1][i]) for elem in res])))
out_file.close()
More information about the Avida-cvs
mailing list