minor format fixes
CI for csaxs_bec / test (pull_request) Successful in 2m4s
CI for csaxs_bec / test (push) Successful in 2m12s

This commit is contained in:
x01dc
2026-04-14 15:26:37 +02:00
parent d8ea93a587
commit ffe52a13dd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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):