From 257d9d5350283b5811bebb5f13e117e5867b27b7 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 17 Nov 2018 11:13:51 +0100 Subject: [PATCH] needs to be list --- processing/post/postResults.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/post/postResults.py b/processing/post/postResults.py index 2461f9a3c..e48883aef 100755 --- a/processing/post/postResults.py +++ b/processing/post/postResults.py @@ -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()