Disabling protocol simulation during setup/running protocol through jupyter notebooks

Hi everyone!

I am working on a project with the Opentrons Flex where the number of steps per protocol is highly variable, but will often extends into the thousands. I have noticed that when running protocols with this number of steps the setup time can take up to 30 minutes as the robot runs through each step before actually allowing us to run the protocol. The protocol that we are running has been tested and will not be changed frequently, so I was wondering if there is a way to disable that simulation step when running protocols through the Flex. I’ve looked around their repo and site but had trouble finding anything. Any help would be greatly appreciated!

1 Like

Hey, can you please email support@opentrons.com and copy meghan.ferzoco@opentrons.com, and I’ll make sure to log any answers here for visibility?
It sounds like this may be a feature request for our SW team to review.

Haven’t tried this on a flex but for an OT2 you can wrap all your steps in an if statement with protocol.is_simulating().

If not protocol.is_sumulating():

Else:
pass

2 Likes

Curious if this works, did you try it @jonathan_till ?

1 Like