Skip to content

Commit

Permalink
Fix typo in PrawnBlaster error message
Browse files Browse the repository at this point in the history
  • Loading branch information
philipstarkey authored Jun 30, 2021
1 parent 0e31909 commit e7b3571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions labscript_devices/PrawnBlaster/labscript_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ def add_device(self, device):
# only allow one child
if self.child_devices:
raise LabscriptError(
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}]"
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}]"
)
Pseudoclock.add_device(self, device)
else:
raise LabscriptError(
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."
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."
)


Expand Down

0 comments on commit e7b3571

Please sign in to comment.