load_plugin#
- pulserver.design.load_plugin()[source]#
Import a plugin file and instantiate the one SequencePlugin it defines.
The module is registered as
pulserver_plugin_<file stem>; loading another file with the same stem replaces it. A subclass ofScannerSequenceis a plugin too.- Raises:
ValueError – If the file defines no SequencePlugin subclass, or more than one.