Skip to content

Commit d8a8856

Browse files
committed
Merge branch 'edge' into app_lpc-store-handle-labware
2 parents ad749ef + b1684cb commit d8a8856

File tree

447 files changed

+22567
-6574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+22567
-6574
lines changed

api-client/src/maintenance_runs/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
} from '@opentrons/shared-data'
77
import type {
88
RunCommandSummary,
9-
LabwareOffsetCreateData,
9+
LegacyLabwareOffsetCreateData,
1010
RunStatus,
1111
RunAction,
1212
} from '../runs'
@@ -42,7 +42,7 @@ export interface MaintenanceRunError {
4242
}
4343

4444
export interface CreateMaintenanceRunData {
45-
labwareOffsets?: LabwareOffsetCreateData[]
45+
labwareOffsets?: LegacyLabwareOffsetCreateData[]
4646
}
4747

4848
export interface LabwareDefinitionSummary {

api-client/src/modules/api-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface PhysicalPort {
1010
port: number
1111
hub: boolean
1212
portGroup: PortGroup
13+
hubPort?: number
1314
}
1415

1516
type ModuleOffsetSource =

api-client/src/runs/createLabwareOffset.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { POST, request } from '../request'
22

33
import type { ResponsePromise } from '../request'
44
import type { HostConfig } from '../types'
5-
import type { LabwareOffsetCreateData, Run } from './types'
5+
import type { LegacyLabwareOffsetCreateData, Run } from './types'
66

77
export function createLabwareOffset(
88
config: HostConfig,
99
runId: string,
10-
data: LabwareOffsetCreateData
10+
data: LegacyLabwareOffsetCreateData
1111
): ResponsePromise<Run> {
12-
return request<Run, { data: LabwareOffsetCreateData }>(
12+
return request<Run, { data: LegacyLabwareOffsetCreateData }>(
1313
POST,
1414
`/runs/${runId}/labware_offsets`,
1515
{ data },

api-client/src/runs/createRun.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import type { ResponsePromise } from '../request'
44
import type { HostConfig } from '../types'
55
import type {
66
Run,
7-
LabwareOffsetCreateData,
7+
LegacyLabwareOffsetCreateData,
88
RunTimeParameterValuesCreateData,
99
RunTimeParameterFilesCreateData,
1010
} from './types'
1111

1212
export interface CreateRunData {
1313
protocolId?: string
14-
labwareOffsets?: LabwareOffsetCreateData[]
14+
labwareOffsets?: LegacyLabwareOffsetCreateData[]
1515
runTimeParameterValues?: RunTimeParameterValuesCreateData
1616
runTimeParameterFiles?: RunTimeParameterFilesCreateData
1717
}

api-client/src/runs/types.ts

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export interface LabwareOffset {
8585
id: string
8686
createdAt: string
8787
definitionUri: string
88-
location: LabwareOffsetLocation
88+
location: LegacyLabwareOffsetLocation
89+
locationSequence?: LabwareOffsetLocationSequence
8990
vector: VectorOffset
9091
}
9192

@@ -156,14 +157,35 @@ export interface CreateRunActionData {
156157
actionType: RunActionType
157158
}
158159

159-
export interface LabwareOffsetLocation {
160+
export interface OnAddressableAreaLabwareOffsetLocationSequenceComponent {
161+
kind: 'onAddressableArea'
162+
labware: string
163+
}
164+
165+
export interface OnModuleOffsetLocationSequenceComponent {
166+
kind: 'onModule'
167+
moduleModel: ModuleModel
168+
}
169+
170+
export interface OnLabwareOffsetLocationSequenceComponent {
171+
kind: 'onLabware'
172+
labwareUri: string
173+
}
174+
175+
export type LabwareOffsetLocationSequenceComponent =
176+
| OnAddressableAreaLabwareOffsetLocationSequenceComponent
177+
| OnModuleOffsetLocationSequenceComponent
178+
| OnLabwareOffsetLocationSequenceComponent
179+
export type LabwareOffsetLocationSequence = LabwareOffsetLocationSequenceComponent[]
180+
181+
export interface LegacyLabwareOffsetLocation {
160182
slotName: string
161183
moduleModel?: ModuleModel
162184
definitionUri?: string
163185
}
164-
export interface LabwareOffsetCreateData {
186+
export interface LegacyLabwareOffsetCreateData {
165187
definitionUri: string
166-
location: LabwareOffsetLocation
188+
location: LegacyLabwareOffsetLocation
167189
vector: VectorOffset
168190
}
169191

api/docs/v1/pipettes.rst

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ same behavior as before.
5555
The P20 Single GEN2 is back-compatible with the P10 Single in this regard. If your protocol
5656
specifies an ``instruments.P10_Single`` and your robot has an ``instruments.P20_Single_GEN2``
5757
attached, you can run your protocol, and the robot will act as if the maximum volume of the P20
58-
Single GEN2 is 10 μl.
58+
Single GEN2 is 10 µl.
5959

6060
If you have a P50 Single specified in your protocol, there is no automatic backwards compatibility.
6161
If you want to use a Gen2 Pipette, you must change your protocol to load either a P300 Single GEN2
62-
(if you are using volumes between 20 and 50 μl) or a P20 Single GEN2 (if you are using volumes
63-
below 20 μl).
62+
(if you are using volumes between 20 and 50 µl) or a P20 Single GEN2 (if you are using volumes
63+
below 20 µl).
6464

6565

6666
Plunger Flow Rates
@@ -99,92 +99,92 @@ The given defaults for every pipette model is the following:
9999
P10_Single
100100
----------
101101

102-
- Aspirate Default: 5 μl/s
103-
- Dispense Default: 10 μl/s
104-
- Blow Out Default: 1000 μl/s
105-
- Minimum Volume: 1 μl
106-
- Maximum Volume: 10 μl
102+
- Aspirate Default: 5 µl/s
103+
- Dispense Default: 10 µl/s
104+
- Blow Out Default: 1000 µl/s
105+
- Minimum Volume: 1 µl
106+
- Maximum Volume: 10 µl
107107

108108
P10_Multi
109109
---------
110110

111-
- Aspirate Default: 5 μl/s
112-
- Dispense Default: 10 μl/s
113-
- Blow Out Default: 1000 μl/s
114-
- Minimum Volume: 1 μl
115-
- Maximum Volume: 10 μl
111+
- Aspirate Default: 5 µl/s
112+
- Dispense Default: 10 µl/s
113+
- Blow Out Default: 1000 µl/s
114+
- Minimum Volume: 1 µl
115+
- Maximum Volume: 10 µl
116116

117117
P50_Single
118118
----------
119119

120-
- Aspirate Default: 25 μl/s
121-
- Dispense Default: 50 μl/s
122-
- Blow Out Default: 1000 μl/s
123-
- Minimum Volume: 5 μl
124-
- Maximum Volume: 50 μl
120+
- Aspirate Default: 25 µl/s
121+
- Dispense Default: 50 µl/s
122+
- Blow Out Default: 1000 µl/s
123+
- Minimum Volume: 5 µl
124+
- Maximum Volume: 50 µl
125125

126126
P50_Multi
127127
---------
128128

129-
- Aspirate Default: 25 μl/s
130-
- Dispense Default: 50 μl/s
131-
- Blow Out Default: 1000 μl/s
132-
- Minimum Volume: 5 μl
133-
- Maximum Volume: 50 μl
129+
- Aspirate Default: 25 µl/s
130+
- Dispense Default: 50 µl/s
131+
- Blow Out Default: 1000 µl/s
132+
- Minimum Volume: 5 µl
133+
- Maximum Volume: 50 µl
134134

135135
P300_Single
136136
-----------
137137

138-
- Aspirate Default: 150 μl/s
139-
- Dispense Default: 300 μl/s
140-
- Blow Out Default: 1000 μl/s
141-
- Minimum Volume: 30 μl
142-
- Maximum Volume: 300 μl
138+
- Aspirate Default: 150 µl/s
139+
- Dispense Default: 300 µl/s
140+
- Blow Out Default: 1000 µl/s
141+
- Minimum Volume: 30 µl
142+
- Maximum Volume: 300 µl
143143

144144
P300_Multi
145145
----------
146146

147-
- Aspirate Default: 150 μl/s
148-
- Dispense Default: 300 μl/s
149-
- Blow Out Default: 1000 μl/s
150-
- Minimum Volume: 30 μl
151-
- Maximum Volume: 300 μl
147+
- Aspirate Default: 150 µl/s
148+
- Dispense Default: 300 µl/s
149+
- Blow Out Default: 1000 µl/s
150+
- Minimum Volume: 30 µl
151+
- Maximum Volume: 300 µl
152152

153153
P1000_Single
154154
------------
155155

156-
- Aspirate Default: 500 μl/s
157-
- Dispense Default: 1000 μl/s
158-
- Blow Out Default: 1000 μl/s
159-
- Minimum Volume: 100 μl
160-
- Maximum Volume: 1000 μl
156+
- Aspirate Default: 500 µl/s
157+
- Dispense Default: 1000 µl/s
158+
- Blow Out Default: 1000 µl/s
159+
- Minimum Volume: 100 µl
160+
- Maximum Volume: 1000 µl
161161

162162
P20_Single_GEN2
163163
---------------
164164

165-
- Aspirate Default: 3.78 μl/s
166-
- Dispense Default: 3.78 μl/s
167-
- Blow Out Default: 3.78 μl/s
168-
- Minimum Volume: 1 μl
169-
- Maximum Volume: 20 μl
165+
- Aspirate Default: 3.78 µl/s
166+
- Dispense Default: 3.78 µl/s
167+
- Blow Out Default: 3.78 µl/s
168+
- Minimum Volume: 1 µl
169+
- Maximum Volume: 20 µl
170170

171171
P300_Single_GEN2
172172
----------------
173173

174-
- Aspirate Default: 46.43 μl/s
175-
- Dispense Default: 46.43 μl/s
176-
- Blow Out Default: 46.43 μl/s
177-
- Minimum Volume: 20 μl
178-
- Maximum Volume: 300 μl
174+
- Aspirate Default: 46.43 µl/s
175+
- Dispense Default: 46.43 µl/s
176+
- Blow Out Default: 46.43 µl/s
177+
- Minimum Volume: 20 µl
178+
- Maximum Volume: 300 µl
179179

180180
P1000_Single_GEN2
181181
-----------------
182182

183-
- Aspirate Default: 137.35 μl/s
184-
- Dispense Default: 137.35 μl/s
185-
- Blow Out Default: 137.35 μl/s
186-
- Minimum Volume: 100 μl
187-
- Maximum Volume: 1000 μl
183+
- Aspirate Default: 137.35 µl/s
184+
- Dispense Default: 137.35 µl/s
185+
- Blow Out Default: 137.35 µl/s
186+
- Minimum Volume: 100 µl
187+
- Maximum Volume: 1000 µl
188188

189189
Old Pipette Constructor
190190
=======================

api/docs/v2/complex_commands/parameters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ One reason to set ``new_tip="always"`` is to avoid cross-contamination between w
6262

6363
:py:meth:`~.InstrumentContext.transfer` will pick up a new tip before *every* aspirate when ``new_tip="always"``. This includes when :ref:`tip refilling <complex-tip-refilling>` requires multiple aspirations from a single source well.
6464

65-
:py:meth:`~.InstrumentContext.distribute` and :py:meth:`~.InstrumentContext.consolidate` only pick up one tip, even when ``new_tip="always"``. For example, this distribute command returns to the source well a second time, because the amount to be distributed (400 µL total plus disposal volume) exceeds the pipette capacity (300 μL)::
65+
:py:meth:`~.InstrumentContext.distribute` and :py:meth:`~.InstrumentContext.consolidate` only pick up one tip, even when ``new_tip="always"``. For example, this distribute command returns to the source well a second time, because the amount to be distributed (400 µL total plus disposal volume) exceeds the pipette capacity (300 µL)::
6666

6767
pipette.distribute(
6868
volume=200,

api/docs/v2/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,10 @@
445445
("py:class", r".*protocol_api\.config.*"),
446446
("py:class", r".*opentrons_shared_data.*"),
447447
("py:class", r".*protocol_api._parameters.Parameters.*"),
448-
("py:class", r".*RobotContext"), # shh it's a secret (for now)
449-
("py:class", r'.*AbstractLabware|APIVersion|LabwareLike|LoadedCoreMap|ModuleTypes|NoneType|OffDeckType|ProtocolCore|WellCore'), # laundry list of not fully qualified things
448+
("py:class", r".*RobotContext"), # shh it's a secret (for now)
449+
("py:class", r".*FlexStackerContext"), # ssh it's a secret (for now)
450+
(
451+
"py:class",
452+
r".*AbstractLabware|APIVersion|LabwareLike|LoadedCoreMap|ModuleTypes|NoneType|OffDeckType|ProtocolCore|WellCore",
453+
), # laundry list of not fully qualified things
450454
]

api/docs/v2/modules/temperature_module.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ The Temperature Module supports these 96-well block and labware combinations for
9898

9999
* - 96-well block contents
100100
- API Load Name
101-
* - Bio-Rad well plate 200 μL
101+
* - Bio-Rad well plate 200 µL
102102
- ``opentrons_96_aluminumblock_biorad_wellplate_200uL``
103-
* - Generic PCR strip 200 μL
103+
* - Generic PCR strip 200 µL
104104
- ``opentrons_96_aluminumblock_generic_pcr_strip_200uL``
105-
* - NEST well plate 100 μL
105+
* - NEST well plate 100 µL
106106
- ``opentrons_96_aluminumblock_nest_wellplate_100uL``
107107

108108
This command loads the same physical adapter and labware as the example in the Standalone Adapters section above, but it is also compatible with earlier API versions::

api/docs/v2/pipettes/characteristics.rst

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -184,29 +184,32 @@ These flow rates will remain in effect until you change the ``flow_rate`` attrib
184184
Flex Pipette Flow Rates
185185
-----------------------
186186

187-
Flex pipette flow rates depend on pipette volume and tip capacity. Each pipette–tip combination has a default flow rate for aspirating, dispensing, and blowing out liquid. When using a 50 µL pipette, you should only use 50 µL tips.
188-
189-
.. list-table::
190-
:header-rows: 1
191-
192-
* - Pipette Model
193-
- Tip Capacity (µL)
194-
- Flow Rate (µL/s)
195-
* - 50 µL (1- and 8-channel)
196-
- 50
197-
- 57
198-
* - 1000 µL (1-, 8-, and 96-channel)
199-
- 50
200-
- 478
201-
* - 1000 µL (1-, 8-, and 96-channel)
202-
- 200
203-
- 716
204-
* - 1000 µL (1-, 8-, and 96-channel)
205-
- 1000
206-
- 716
207-
208-
209-
Additionally, all Flex pipettes have a well bottom clearance of 1 mm for aspirate and dispense actions.
187+
The following table provides data on the default aspirate, dispense, and blowout flow rates (in µL/s) for Flex pipettes. Default flow rates for each pipette-tip combination are the same across all three actions.
188+
189+
.. Excludes low-vol 96 channel. Not yet released.
190+
191+
+-----------------------------+-------------------+------------------------+
192+
| Pipette Model | Tip Capacity (µL) | Default Flow Rate (µL) |
193+
+=============================+===================+========================+
194+
| 1- and 8-channel (50 µL) | 50 | 35 |
195+
+-----------------------------+-------------------+------------------------+
196+
| 1- and 8-channel (1000 µL) | 50 | 478 |
197+
+ +-------------------+------------------------+
198+
| | 200 | 716 |
199+
+ +-------------------+------------------------+
200+
| | 1000 | 716 |
201+
+-----------------------------+-------------------+------------------------+
202+
| 96-channel (5-1000 µL) | 50 | 6 |
203+
+ +-------------------+------------------------+
204+
| | 200 | 80 |
205+
+ +-------------------+------------------------+
206+
| | 1000 | 160 |
207+
+-----------------------------+-------------------+------------------------+
208+
209+
Additionally:
210+
211+
- When using a 50 µL pipette, you should only use 50 µL tips.
212+
- All Flex pipettes have a well bottom clearance of 1 mm for aspirate and dispense actions.
210213

211214
.. _ot2-flow-rates:
212215

0 commit comments

Comments
 (0)