I am not sure if your code should cover this edge case, but when the fade commands is provided with an empty list for the meshes, addAnimation breaks at line 502 in addAnimation:
Error: Python: Traceback (most recent call last):
File "/groups/reiser/home/loeschef/prj/neuVid/neuVid/addAnimation.py", line 1196, in <module>
cmd(args)
File "/groups/reiser/home/loeschef/prj/neuVid/neuVid/addAnimation.py", line 502, in fadeCmd
if len(objs) >= 6:
TypeError: object of type 'NoneType' has no len()
neuVid 1.35.0
I am not sure if your code should cover this edge case, but when the
fade
commands is provided with an empty list for the meshes, addAnimation breaks at line 502 in addAnimation:test case:
throws this error: