needs to be list

This commit is contained in:
Martin Diehl 2018-11-17 11:13:51 +01:00
parent 44bd85a041
commit 257d9d5350
1 changed files with 3 additions and 3 deletions

View File

@ -444,7 +444,7 @@ def mapIncremental(label, mapping, N, base, new):
except:
mapped = ['nan']*len(base)
return mapped
return list(mapped)
@ -1167,11 +1167,11 @@ for incCount,position in enumerate(locations): # walk through locations
file.write('\t'.join(standard + header) + '\n')
headerWritten = True
file.write('\t'.join(map(str,[p.increment] + \
file.write('\t'.join(list(map(str,[p.increment] + \
{True:[p.time],False:[]}[options.time] + \
group[0] + \
mappedResult)
) + '\n')
)) + '\n')
if fileOpen:
file.close()