Name: opentrons
Owner: Hammer Lab
Description: Python API for writing protocols and running them on Opentrons robots
Forked from: Opentrons/opentrons
Created: 2017-10-03 00:18:46.0
Updated: 2017-10-03 00:18:48.0
Pushed: 2017-10-02 21:56:06.0
Size: 19071
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Opentrons makes robots for biologists.
Our mission is to provide the scientific community with a common platform to easily share protocols and reproduce each other's work. Our robots automate experiments that would otherwise be done by hand, allowing our users to spend more time pursuing answers to the 21st century?s most important questions, and less time pipetting.
This repository contains the source code for the Opentrons API and OT App. We'd love for you to to explore, hack, and build upon them!
The Opentrons API is a simple framework designed to make writing automated biology lab protocols easy.
We've designed it in a way we hope is accessible to anyone with basic computer and wetlab skills. As a bench scientist, you should be able to code your automated protocols in a way that reads like a lab notebook.
tte.aspirate(tube_1).dispense(tube_2)
That is how you tell the Opentrons robot to pipette its max volume from one tube to another. Learn more here:
Easily upload a protocol, calibrate positions, and run your experiment from your computer.
We love contributors! Here is the best way to work with us:
Filing a bug report. We will fix these as quickly as we can, and appreciate your help uncovering bugs in our code.
Submit a pull request with any new features you've added to a branch of the API or App. We will reach out to talk with you about integration testing and launcing it into our product!
If you want to build the platform and play with the latest development version we are working on before it is launched, here are the steps:
export PYTHON_CONFIGURE_OPTS="--enable-shared"
before pyenv install ...
libgconf-2-4, graphicsmagick, icnsutils
packages via apt-get
Clone the repository to get started.
clone https://github.com/OpenTrons/opentrons.git
Install the dependencies and API itself.
pi
install
rify
on -c 'import opentrons; print(opentrons.__version__)'
2
(Optional) test, lint and build API server executable (needed for the app)
test
exe
Our app is built with Electron. The structure and configuration of bundling, testing and packaging are based on this great repo.
You can read great coverage of some tools that are used in our stack here. Note, our front-end framework of choice is Vue.js which dictates our choice of test tools: Karma, Mocha, Chai and Istanbul
Install OT-App dependencies.
pp
install
Build and package the app
build package
tionally test
test
r end-to-end click-through test
test-e2e
If you want to play with the code base and make some changes, feel free to do so.
Start Python API Server (in a separate terminal):
pi
rt ENABLE_VIRTUAL_SMOOTHIE=true; python opentrons/server/main.py
Install dev tools:
pp
stall development tools that are not part of package.json
i electron-debug
i vue-devtools
Run OT-App in development mode. This will open development tools and connect to the API Server already running (instead of starting it from app/bin/opentrons-api-server
):
dev
Enjoy!