rounding behaviour of python3
as the round() changed in python3 (round(3.5) = 4 and round(4.5) = 4 as well) the following lines might need to be looked at
-
./bliss/controllers/motors/pi_e712.py:1077: position_scaling = round( -
./bliss/controllers/motors/mockup.py:194: return int(round(pos)) -
./bliss/controllers/motors/icepap/init.py:148: "POS %s %d" % (axis.address, int(round(new_pos))), -
./bliss/controllers/motors/elmo.py:293: pos = round(new_pos) -
./bliss/controllers/motors/elmo.py:323: "HM[2]=%d" % round(set_pos), -
./bliss/controllers/motors/elmo.py:386: self._query("PA=%d" % round(motion.target_pos)) -
./bliss/controllers/temperature/eurotherm/nanodac.py:177: self._loop.targetsp = round(targetsp, 1) -
./bliss/controllers/temperature/linkam.py:468: self._cnx.write_readline(chr(0xe7) + "%4d\r" % int(round(value))) -
./bliss/tango/servers/axis_ds.py:462: return int(round(_steps))