Hardcoded 1e-6 value in axis module
Found in bliss/common/axis.py
while reviewing !867 (merged):
if abs(delta) < 1E-6:
delta = 0.
and:
if not trajectory:
if abs(motion.delta) < 1e-6:
motion = None
self.__execute_pre_move_hook(motion)
According to @sebastien.petitdemange, this code was responsible for an hard-to-debug issue.
The fact that the motion can be None
is also a problem IMO.
Can we do something about it?