From f3548d3318bd7db5ff579471bad40079375740bd Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Wed, 5 Feb 2014 13:11:06 +0100 Subject: [PATCH 1/1] added column numberofmeasurements. --- meanstep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meanstep.py b/meanstep.py index 536e007..bdac2b3 100755 --- a/meanstep.py +++ b/meanstep.py @@ -64,12 +64,12 @@ for fileid in results: float(results[fileid][matchkey][int(meancols[imeancol])-1]) / \ results[fileid][matchkey][ len(results[f[:-4]][matchkey]) - 1 ] - for icol in range(0,len(results[fileid][matchkey])-1): + for icol in range(0,len(results[fileid][matchkey])): sys.stdout.write(str(results[fileid][matchkey][icol])) if writetofile: outfile.write(str(results[fileid][matchkey][icol])); - if icol != len(results[fileid][matchkey])-2: + if icol != len(results[fileid][matchkey])-1: sys.stdout.write("\t") if writetofile: outfile.write("\t") -- 2.39.5