user defined mapping didn't work because of misspelled variable in "mapIncremental"

This commit is contained in:
Christoph Kords 2011-06-08 13:56:21 +00:00
parent a26d9c844b
commit 2cbfb69235
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ def mapIncremental(label, mapping, N, base, new):
mapped = map(lambda x: x/orientationNorm, mapped) # ...renormalize quaternion
else:
try:
mapped = eval('map(%s,[N]*len(base),base,new)'%map) # map user defined function to colums in chunks
mapped = eval('map(%s,[N]*len(base),base,new)'%mapping) # map user defined function to colums in chunks
except:
mapped = ['n/a']*len(base)