Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules cannot be used in API V2 protocols run on Jupyter #4811

Closed
ethanfjones-zz opened this issue Jan 21, 2020 · 3 comments
Closed

Modules cannot be used in API V2 protocols run on Jupyter #4811

ethanfjones-zz opened this issue Jan 21, 2020 · 3 comments
Labels
bug papi-v2 Python API V2 prioritized-suggestion-support Support team suggests prioritizing this ticket and roadmapping it into the current workflow robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).

Comments

@ethanfjones-zz
Copy link
Contributor

overview

When you try to run an API V2 protocol that contains a module(in this case the mag deck) the below error is thrown:

RuntimeError: Could not find specified module: magdeck

steps to reproduce

Verify module is connected to the robot in the app
Open up your robot's jupyter notebook server
Open a new notebook
Try to run the following protocol

from opentrons import protocol_api
import opentrons.execute


metadata = {'apiLevel': '2.0'}

def run(protocol: protocol_api.ProtocolContext):
    mag_mod = protocol.load_module('magnetic module', '1')
    plate = mag_mod.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')

    
    
    mag_mod.engage()
    
    
protocol = opentrons.execute.get_protocol_api('2.0')
run(protocol)  

expected behavior

You should be able to run API V2 protocols that contain a module in your robot's Jupyter notebook.

@ethanfjones-zz ethanfjones-zz added bug papi-v2 Python API V2 labels Jan 21, 2020
@b-cooper b-cooper self-assigned this Jan 21, 2020
@sfoster1 sfoster1 added this to the HMG Sprint 1 milestone Jan 21, 2020
@sfoster1 sfoster1 modified the milestones: HMG Sprint 1, HMG Sprint 2 Feb 3, 2020
@sfoster1 sfoster1 modified the milestones: HMG Sprint 2, HMG Sprint 3 Feb 19, 2020
@sfoster1 sfoster1 modified the milestones: HMG Sprint 3, HMG Sprint 4 Mar 2, 2020
@danielpgp1012
Copy link

Any update?

@mattwelch mattwelch added the robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience). label Jul 15, 2021
@mattwelch mattwelch removed this from the HMG Sprint 4 milestone Jul 15, 2021
@mcous
Copy link
Contributor

mcous commented Jul 27, 2021

Note to team: Is this at all related to #8009?

@Matt-Zwimpfer Matt-Zwimpfer added the prioritized-suggestion-support Support team suggests prioritizing this ticket and roadmapping it into the current workflow label Sep 14, 2021
@mcous
Copy link
Contributor

mcous commented Dec 10, 2021

Closed as resolved

@mcous mcous closed this as completed Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug papi-v2 Python API V2 prioritized-suggestion-support Support team suggests prioritizing this ticket and roadmapping it into the current workflow robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Projects
None yet
Development

No branches or pull requests

7 participants