Skip to content

Commit

Permalink
rename run_python
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed May 20, 2024
1 parent be42b67 commit ef09068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/src/opentrons/protocols/execution/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from opentrons.protocol_api import ProtocolContext
from opentrons.protocol_api._parameters import Parameters
from opentrons.protocols.execution.execute_python import run_python
from opentrons.protocols.execution.execute_python import exec_run
from opentrons.protocols.execution.json_dispatchers import (
pipette_command_map,
temperature_module_command_map,
Expand Down Expand Up @@ -34,7 +34,7 @@ def run_protocol(
if protocol.api_level >= APIVersion(2, 0):
# If this is None here then we're either running simulate or execute, in any case we don't need to report
# this in analysis which is the reason we'd pass it to this function
run_python(
exec_run(
proto=protocol,
context=context,
run_time_parameters_with_overrides=run_time_parameters_with_overrides,
Expand Down
2 changes: 1 addition & 1 deletion api/src/opentrons/protocols/execution/execute_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def exec_add_parameters(
)


def run_python(
def exec_run(
proto: PythonProtocol,
context: ProtocolContext,
run_time_parameters_with_overrides: Optional[Parameters] = None,
Expand Down

0 comments on commit ef09068

Please sign in to comment.