You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/getting_started.rst
+14-22Lines changed: 14 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ Before running any code, you need to install the Opentrons API in your jupyter n
20
20
21
21
!pip install --upgrade opentrons
22
22
23
+
.. note::
24
+
25
+
You can update your API by repeating the !pip install, but remember to restart your notebook afterwards for the changes to take effect
26
+
23
27
Now that you've installed Opentrons API on your computer, you have access to a variety of robot container and instrument commands. You need to import them to each project (protocol) in order to access these commands. Unlike the install, this set of imports needs to be done at the start of each protocol.
24
28
25
29
.. testsetup:: main
@@ -58,19 +62,7 @@ Now that you've installed Opentrons API on your computer, you have access to a v
58
62
59
63
.. testcode:: main
60
64
61
-
from opentrons.robot import Robot
62
-
from opentrons import containers
63
-
from opentrons import instruments
64
-
65
-
Now that you have imported the opentrons modules, you need to declare a new robot object (so you can run your protocol commands on it).
66
-
67
-
.. code-block:: python
68
-
69
-
robot = Robot()
70
-
71
-
.. note::
72
-
73
-
You can update your API by repeating the !pip install, but remember to restart your notebook afterwards for the changes to take effect
65
+
from opentrons import robot, containers, instruments
0 commit comments