intbio-ncl / BiomationScripterLib

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

OT2 app throws an error when 'OTProto.get_labware_format' is used with custom labware #21

Open Brad0440 opened 2 years ago

Brad0440 commented 2 years ago

Currently, when a protocol uses the OTProto.get_labware_format function for a custom labware file, a FileNotFound error is raised. This is because the opentrons cannot seem to find custom labware files loaded via the app.

The specific native OT2 API method this is related to is protocol_api.labware.get_labware_definition(). I'm unclear as to whether or not this is intended functionality, or a bug with the Opentrons API.

Brad0440 commented 2 years ago

See: https://github.com/intbio-ncl/BiomationScripterLib/pull/22