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")