fix %g in the write_target
Change-Id: I3c15ed44848c792320dd146d17d4bb52f30f49f0
This commit is contained in:
@ -166,7 +166,7 @@ class HeaterOutput(LakeShore, HasControlledBy, HasIO, Writable):
|
||||
self.set_heater_mode(3)
|
||||
self.set_range()
|
||||
percent = self.power_to_percent(target)
|
||||
reply = self.set_par(f'MOUT {self.loop}', '%g' % percent)
|
||||
reply = self.set_par(f'MOUT {self.loop}', percent)
|
||||
return self.percent_to_power(reply)
|
||||
|
||||
def set_heater_mode(self, mode):
|
||||
|
Reference in New Issue
Block a user