Skip to content

Commit

Permalink
Merge branch 'edge' into opentrons-ai-client-instruments
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelginetw authored Oct 30, 2024
2 parents a797963 + d270ccd commit fa88a39
Show file tree
Hide file tree
Showing 427 changed files with 7,563 additions and 2,652 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def module_helper(
y = one_module["moduleOffset"]["offset"].get("y", "")
z = one_module["moduleOffset"]["offset"].get("z", "")
except KeyError:
pass
continue
if mod_serial in module_sheet_serials and modified in module_modify_dates:
continue
module_row = (
Expand Down
1 change: 1 addition & 0 deletions analyses-snapshot-testing/citools/generate_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def analyze(protocol: TargetProtocol, container: docker.models.containers.Contai
start_time = time.time()
result = None
exit_code = None
console.print(f"Beginning analysis of {protocol.host_protocol_file.name}")
try:
command_result = container.exec_run(cmd=command)
exit_code = command_result.exit_code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9383,7 +9383,14 @@
},
"id": "UUID",
"key": "08e16a2cac011d4bef561f8b0854d19e",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"displayName": "4 custom tubes",
"loadName": "cpx_4_tuberack_100ul",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9383,7 +9383,14 @@
},
"id": "UUID",
"key": "08e16a2cac011d4bef561f8b0854d19e",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"displayName": "4 custom tubes",
"loadName": "cpx_4_tuberack_100ul",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7895,7 +7895,14 @@
},
"id": "UUID",
"key": "675eb8be-6c85-4204-9c87-d7fdd522f580",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"moduleId": "UUID"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4341,7 +4341,14 @@
},
"id": "UUID",
"key": "bccdb28e967f574dfbe472004101d7f9",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"displayName": "Index Anchors",
"loadName": "eppendorf_96_wellplate_150ul",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12587,7 +12587,14 @@
},
"id": "UUID",
"key": "702caca4-12c8-4f26-a68e-138134723f09",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"labwareId": "UUID",
"newLocation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,14 @@
},
"id": "UUID",
"key": "c2e4fa67-3c04-4d22-b3fa-5d61e956c488",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"flowRate": 3.78,
"labwareId": "UUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3035,7 +3035,14 @@
},
"id": "UUID",
"key": "0bd3f36a944ee534e422ee69360a9501",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"flowRate": 7.56,
"labwareId": "UUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@
},
"id": "UUID",
"key": "8511b05ba5565bf0e6dcccd800e2ee23",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"location": {
"slotName": "C1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,14 @@
},
"id": "UUID",
"key": "2c37ad797da7df791b57a7843a203e88",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"configurationParams": {
"backLeftNozzle": "A1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,14 @@
},
"id": "UUID",
"key": "bd403a1c851a75b4b68ce34796d713fa",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"liquidPresenceDetection": false,
"mount": "left",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@
},
"id": "UUID",
"key": "a3a7eed460d8d94a91747f23820a180d",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"location": {
"slotName": "C3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2366,7 +2366,14 @@
},
"id": "UUID",
"key": "4b1d27a6f17f312dd76668f0c48ed406",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"configurationParams": {
"backLeftNozzle": "G12",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,14 @@
},
"id": "UUID",
"key": "4cca9753dc59d176eee1522349363a75",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"labwareId": "UUID",
"newLocation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15103,7 +15103,14 @@
},
"id": "UUID",
"key": "c3eacf39e9a35058cac9f69100549344",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"forceDirect": false,
"labwareId": "UUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,14 @@
},
"id": "UUID",
"key": "4b1d27a6f17f312dd76668f0c48ed406",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"configurationParams": {
"backLeftNozzle": "A1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4341,7 +4341,14 @@
},
"id": "UUID",
"key": "bccdb28e967f574dfbe472004101d7f9",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"displayName": "Index Anchors",
"loadName": "eppendorf_96_wellplate_150ul",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,14 @@
},
"id": "UUID",
"key": "2c37ad797da7df791b57a7843a203e88",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"configurationParams": {
"backLeftNozzle": "G12",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39047,7 +39047,14 @@
},
"id": "UUID",
"key": "f524340032354f66bf69110d530e98ad",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"labwareId": "UUID",
"newLocation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@
},
"id": "UUID",
"key": "8511b05ba5565bf0e6dcccd800e2ee23",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"location": {
"slotName": "C2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17824,7 +17824,14 @@
},
"id": "UUID",
"key": "7e96139ed2163fa7f870805d0b3d14b6",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"forceDirect": false,
"labwareId": "UUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,14 @@
},
"id": "UUID",
"key": "c55807b45b6b1d4ea04e12b0ee553f78",
"notes": [],
"notes": [
{
"longMessage": "Handling this command failure with FAIL_RUN.",
"noteKind": "debugErrorRecovery",
"shortMessage": "Handling this command failure with FAIL_RUN.",
"source": "execution"
}
],
"params": {
"location": {
"slotName": "D3"
Expand Down
9 changes: 9 additions & 0 deletions api-client/src/runs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type {
RunTimeCommand,
RunTimeParameter,
NozzleLayoutConfig,
OnDeckLabwareLocation,
} from '@opentrons/shared-data'
import type { ResourceLink, ErrorDetails } from '../types'
export * from './commands/types'
Expand Down Expand Up @@ -117,7 +118,9 @@ export interface Runs {
}

export interface RunCurrentStateData {
estopEngaged: boolean
activeNozzleLayouts: Record<string, NozzleLayoutValues> // keyed by pipetteId
placeLabwareState?: PlaceLabwareState
}

export const RUN_ACTION_TYPE_PLAY: 'play' = 'play'
Expand Down Expand Up @@ -209,3 +212,9 @@ export interface NozzleLayoutValues {
activeNozzles: string[]
config: NozzleLayoutConfig
}

export interface PlaceLabwareState {
labwareId: string
location: OnDeckLabwareLocation
shouldPlaceDown: boolean
}
Loading

0 comments on commit fa88a39

Please sign in to comment.