A template module, implemented in python, for integrating a device into a WEI workcell.
Creating a Repository From a Template
To automatically replace python_template
with the name of your instrument, run the "Rename Module Repo" GitHub Actions Workflow in your repository: Manually Running a Workflow
N.B. this assumes your repository is named using the <instrument_name>_module
format.
Alternatively, you can run .github/rename.sh python_template <new_name>
locally and commit the results.
Throughout this module template, there are a number of comments marked TODO
. You can use search/find and replace to help ensure you're taking full advantage of the module template and don't have any residual template artifacts hanging around.
For more details on how to write your own module (either using this template or from scratch), see How-To: Modules (WEI Docs)