intbio-ncl / BiomationScripterLib

A Python library to assist with scripting bio-automation protocols
MIT License
3 stars 0 forks source link

OT2 labware should have user friendly labels #2

Closed Brad0440 closed 3 years ago

Brad0440 commented 3 years ago

Currently all labware is just referred to by its API name. All labware should be given a user friendly label to assist the user with ensuring the correct labware is placed in the correct deck position.

davidcmarkham commented 3 years ago

load_labware() and load_custom_labware() both include an optional label argument This should be called in the Templates when required

Example:


# Load all other labware
dna_labware = self.load_labware(self._protocol, self.dna_source_type, label = "DNA Plate")
if not self.primer_plate_is_dna_plate:
    primer_labware = self.load_labware(self._protocol, self.primer_source_type, label = "Primer Plate")
destination_labware = self.load_labware(self._protocol, self.destination_type, label = "Tube Rack")