labscript-suite/labscript-devices

Typo in LabscriptError of PrawnBlaster

rpanderson opened this issue · 1 comments

The new PrawnBlaster device class has multiple clocklines that are auto-generated. These form an attribute clocklines of the device instance, but the attribute is referred to as clockline in the LabscriptError strings:

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"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."

Thanks Russ. Fixed in e7b3571