The `load_module` method in the `opentrons.protocol_api.ProtocolContext` class is used to load a Python module into the execution environment of the Opentrons robot. This module can contain custom functions or classes that can be used to customize and extend the capability of the robot during protocol execution. By loading a module, the user can define their own custom behaviors and define additional functionality for the robot to control its movements or interact with external devices. This method allows for greater flexibility and customization of the protocol being executed on the Opentrons robot.
Python ProtocolContext.load_module - 30 examples found. These are the top rated real world Python examples of opentrons.protocol_api.ProtocolContext.load_module extracted from open source projects. You can rate examples to help us improve the quality of examples.