intbio-ncl / BiomationScripterLib

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

OTProto Primer_Mixing_LightRun template only allows one tip box #6

Closed Brad0440 closed 3 years ago

Brad0440 commented 3 years ago

The OTProto Primer_Mixing_LightRun template allows the user to specify a starting tip in a tip box, however if this starting tip means that more than one tip box would be required, the additional tip boxes are not created in the protocol, resulting in an OutOfTips error to occur.

Expected behaviour: The Primer_Mixing_LightRun should use the BiomationScripter.OTProto.tip_racks_needed() function to determine how many tip boxes are required

davidcmarkham commented 3 years ago

Added user prompts so the user knows where to load tip racks and how many are required

Brad0440 commented 3 years ago

The user prompts gave the incorrect deck slot position for the tip boxes. This is because BiomationScripter.OTProto.next_empty_slot() is used to get the position, rather than the parent attribute of the tip box labware object.

This is fixed with: https://github.com/intbio-ncl/BiomationScripterLib/commit/368a007d765f290a2db2202d3d4a9efcc787e536

davidcmarkham commented 3 years ago

OutOfTipsError still occurs. This can be replicated by setting the starting tip position to any of the wells in columns 8-11 on rows A-C

davidcmarkham commented 3 years ago

This should be fixed now. The tips_needed_20uL variable was being calculated incorrectly which resulted in fewer tips being supplied than were needed to fulfil the transfer steps.

Please test and confirm this before closing the issue.

Brad0440 commented 3 years ago

This appears to be working now so closing the hissue