minor format fixes
This commit is contained in:
@@ -186,7 +186,8 @@ class RtLamniController(Controller):
|
||||
def send_positions(parent, positions):
|
||||
parent._min_scan_buffer_reached = False
|
||||
for pos_index, pos in enumerate(positions):
|
||||
parent.socket_put_and_receive(f"s{pos[0]:.05f},{pos[1]:.05f},0")
|
||||
cmd = f"s{pos[0]:.05f},{pos[1]:.05f},0"
|
||||
parent.socket_put_and_receive(cmd)
|
||||
if pos_index > 100:
|
||||
parent._min_scan_buffer_reached = True
|
||||
parent._min_scan_buffer_reached = True
|
||||
|
||||
@@ -339,7 +339,7 @@ class LamNIFermatScan(ScanBase, LamNIMixin):
|
||||
|
||||
def _transfer_positions_to_LamNI(self):
|
||||
yield from self.stubs.send_rpc_and_wait(
|
||||
"rtx", "controller.add_pos_to_scan", (self.positions.tolist(),)
|
||||
"rtx", "controller.add_pos_to_scan", self.positions.tolist()
|
||||
)
|
||||
|
||||
def _calculate_positions(self):
|
||||
|
||||
Reference in New Issue
Block a user