user defined mapping didn't work because of misspelled variable in "mapIncremental"
This commit is contained in:
parent
a26d9c844b
commit
2cbfb69235
|
@ -368,7 +368,7 @@ def mapIncremental(label, mapping, N, base, new):
|
||||||
mapped = map(lambda x: x/orientationNorm, mapped) # ...renormalize quaternion
|
mapped = map(lambda x: x/orientationNorm, mapped) # ...renormalize quaternion
|
||||||
else:
|
else:
|
||||||
try:
|
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:
|
except:
|
||||||
mapped = ['n/a']*len(base)
|
mapped = ['n/a']*len(base)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue