needs to be list
This commit is contained in:
parent
44bd85a041
commit
257d9d5350
|
@ -444,7 +444,7 @@ def mapIncremental(label, mapping, N, base, new):
|
||||||
except:
|
except:
|
||||||
mapped = ['nan']*len(base)
|
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')
|
file.write('\t'.join(standard + header) + '\n')
|
||||||
headerWritten = True
|
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] + \
|
{True:[p.time],False:[]}[options.time] + \
|
||||||
group[0] + \
|
group[0] + \
|
||||||
mappedResult)
|
mappedResult)
|
||||||
) + '\n')
|
)) + '\n')
|
||||||
|
|
||||||
if fileOpen:
|
if fileOpen:
|
||||||
file.close()
|
file.close()
|
||||||
|
|
Loading…
Reference in New Issue