From 44bd85a041cfed894cca3bdc8512c84e1a277447 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 17 Nov 2018 11:07:22 +0100 Subject: [PATCH] not working for python3, trying --- processing/post/postResults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/postResults.py b/processing/post/postResults.py index df0ca8617..2461f9a3c 100755 --- a/processing/post/postResults.py +++ b/processing/post/postResults.py @@ -434,7 +434,7 @@ def mapIncremental(label, mapping, N, base, new): 'unique': lambda n,b,a: a if n==0 or b==a else 'nan' } if mapping in theMap: - mapped = map(theMap[mapping],[N]*len(base),base,new) # map one of the standard functions to data + mapped = map(theMap[mapping],[N for i in range(len(base))],base,new) # map one of the standard functions to data if label.lower() == 'orientation': # orientation is special case:... orientationNorm = math.sqrt(sum([q*q for q in mapped])) # ...calc norm of average quaternion mapped = map(lambda x: x/orientationNorm, mapped) # ...renormalize quaternion