Skip to content

Commit 3e0cd93

Browse files
authored
docs(api): fixes to protocol examples (#16545)
Fixed minor typos in api/docs/v2/new_examples.rst <!-- Thanks for taking the time to open a Pull Request (PR)! Please make sure you've read the "Opening Pull Requests" section of our Contributing Guide: https://github.com/Opentrons/opentrons/blob/edge/CONTRIBUTING.md#opening-pull-requests GitHub provides robust markdown to format your PR. Links, diagrams, pictures, and videos along with text formatting make it possible to create a rich and informative PR. For more information on GitHub markdown, see: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax To ensure your code is reviewed quickly and thoroughly, please fill out the sections below to the best of your ability! --> # Overview <!-- Describe your PR at a high level. State acceptance criteria and how this PR fits into other work. Link issues, PRs, and other relevant resources. --> ## Test Plan and Hands on Testing No need testing Closes AUTH-963 <!-- Describe your testing of the PR. Emphasize testing not reflected in the code. Attach protocols, logs, screenshots and any other assets that support your testing. --> ## Changelog <!-- List changes introduced by this PR considering future developers and the end user. Give careful thought and clear documentation to breaking changes. --> ## Review requests Look at the changes please <!-- - What do you need from reviewers to feel confident this PR is ready to merge? - Ask questions. --> ## Risk assessment Low <!-- - Indicate the level of attention this PR needs. - Provide context to guide reviewers. - Discuss trade-offs, coupling, and side effects. - Look for the possibility, even if you think it's small, that your change may affect some other part of the system. - For instance, changing return tip behavior may also change the behavior of labware calibration. - How do your unit tests and on hands on testing mitigate this PR's risks and the risk of future regressions? - Especially in high risk PRs, explain how you know your testing is enough. -->
1 parent 1deeb88 commit 3e0cd93

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

api/docs/v2/new_examples.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Opentrons electronic pipettes can do some things that a human cannot do with a p
383383
location=3)
384384
p300 = protocol.load_instrument(
385385
instrument_name="p300_single",
386-
mount="right",
386+
mount="left",
387387
tip_racks=[tiprack_1])
388388
389389
p300.pick_up_tip()
@@ -442,13 +442,13 @@ This protocol dispenses diluent to all wells of a Corning 96-well plate. Next, i
442442
source = reservoir.wells()[i]
443443
row = plate.rows()[i]
444444
445-
# transfer 30 µL of source to first well in column
446-
pipette.transfer(30, source, row[0], mix_after=(3, 25))
445+
# transfer 30 µL of source to first well in column
446+
pipette.transfer(30, source, row[0], mix_after=(3, 25))
447447
448-
# dilute the sample down the column
449-
pipette.transfer(
450-
30, row[:11], row[1:],
451-
mix_after=(3, 25))
448+
# dilute the sample down the column
449+
pipette.transfer(
450+
30, row[:11], row[1:],
451+
mix_after=(3, 25))
452452
453453
.. tab:: OT-2
454454

@@ -474,7 +474,7 @@ This protocol dispenses diluent to all wells of a Corning 96-well plate. Next, i
474474
location=4)
475475
p300 = protocol.load_instrument(
476476
instrument_name="p300_single",
477-
mount="right",
477+
mount="left",
478478
tip_racks=[tiprack_1, tiprack_2])
479479
# Dispense diluent
480480
p300.distribute(50, reservoir["A12"], plate.wells())
@@ -483,16 +483,15 @@ This protocol dispenses diluent to all wells of a Corning 96-well plate. Next, i
483483
for i in range(8):
484484
# save the source well and destination column to variables
485485
source = reservoir.wells()[i]
486-
source = reservoir.wells()[i]
487486
row = plate.rows()[i]
488487
489-
# transfer 30 µL of source to first well in column
490-
p300.transfer(30, source, row[0], mix_after=(3, 25))
488+
# transfer 30 µL of source to first well in column
489+
p300.transfer(30, source, row[0], mix_after=(3, 25))
491490
492-
# dilute the sample down the column
493-
p300.transfer(
494-
30, row[:11], row[1:],
495-
mix_after=(3, 25))
491+
# dilute the sample down the column
492+
p300.transfer(
493+
30, row[:11], row[1:],
494+
mix_after=(3, 25))
496495
497496
Notice here how the code sample loops through the rows and uses slicing to distribute the diluent. For information about these features, see the Loops and Air Gaps examples above. See also, the :ref:`tutorial-commands` section of the Tutorial.
498497

0 commit comments

Comments
 (0)