Skip to content

Commit e7b3571

Browse files
Fix typo in PrawnBlaster error message
1 parent 0e31909 commit e7b3571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labscript_devices/PrawnBlaster/labscript_devices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def add_device(self, device):
3737
# only allow one child
3838
if self.child_devices:
3939
raise LabscriptError(
40-
f"Each pseudoclock of the PrawnBlaster {self.parent_device.name} only supports 1 clockline, which is automatically created. Please use the clockline located at {self.parent_device.name}.clockline[{self.i}]"
40+
f"Each pseudoclock of the PrawnBlaster {self.parent_device.name} only supports 1 clockline, which is automatically created. Please use the clockline located at {self.parent_device.name}.clocklines[{self.i}]"
4141
)
4242
Pseudoclock.add_device(self, device)
4343
else:
4444
raise LabscriptError(
45-
f"You have connected {device.name} to {self.name} (a Pseudoclock of {self.parent_device.name}), but {self.name} only supports children that are ClockLines. Please connect your device to {self.parent_device.name}.clockline[{self.i}] instead."
45+
f"You have connected {device.name} to {self.name} (a Pseudoclock of {self.parent_device.name}), but {self.name} only supports children that are ClockLines. Please connect your device to {self.parent_device.name}.clocklines[{self.i}] instead."
4646
)
4747

4848

0 commit comments

Comments
 (0)