@opentrons/shared-data 0.1.6-alpha.15 → 0.1.6-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/command/schemas/10.json +5 -5
  2. package/command/schemas/11.json +1249 -107
  3. package/command/types/unsafe.ts +1 -1
  4. package/deck/definitions/5/ot3_standard.json +0 -24
  5. package/labware/definitions/2/opentrons_flex_deck_riser/1.json +1 -1
  6. package/labware/definitions/2/opentrons_tough_pcr_auto_sealing_lid/1.json +18 -1
  7. package/labware/schemas/2.json +29 -13
  8. package/labware/schemas/3.json +29 -13
  9. package/lib/command/index.d.ts +1 -1
  10. package/lib/command/schemas/10.json +5 -5
  11. package/lib/command/schemas/11.json +1249 -107
  12. package/lib/command/types/unsafe.d.ts +1 -1
  13. package/lib/deck/definitions/5/ot3_standard.json +0 -24
  14. package/lib/index.mjs +4171 -2783
  15. package/lib/js/__tests__/liquidClassSchema.test.d.ts +1 -0
  16. package/lib/js/constants.d.ts +1 -1
  17. package/lib/js/helpers/index.d.ts +3 -0
  18. package/lib/labware/definitions/2/opentrons_flex_deck_riser/1.json +1 -1
  19. package/lib/labware/definitions/2/opentrons_tough_pcr_auto_sealing_lid/1.json +18 -1
  20. package/lib/labware/schemas/2.json +29 -13
  21. package/lib/labware/schemas/3.json +29 -13
  22. package/lib/liquid-class/definitions/1/water.json +2376 -0
  23. package/lib/liquid-class/fixtures/1/fixture_glycerol50.json +224 -0
  24. package/lib/liquid-class/schemas/1.json +485 -0
  25. package/lib/module/schemas/3.json +1 -1
  26. package/lib/pipette/definitions/2/general/eight_channel_em/p1000/3_0.json +320 -0
  27. package/lib/pipette/definitions/2/general/ninety_six_channel/p200/3_0.json +3 -3
  28. package/lib/pipette/definitions/2/geometry/eight_channel_em/p1000/3_0.json +55 -0
  29. package/lib/pipette/definitions/2/liquid/eight_channel_em/p1000/default/3_0.json +236 -0
  30. package/liquid-class/definitions/1/water.json +2376 -0
  31. package/liquid-class/fixtures/{fixture_glycerol50.json → 1/fixture_glycerol50.json} +27 -43
  32. package/liquid-class/schemas/1.json +36 -37
  33. package/module/schemas/3.json +1 -1
  34. package/package.json +1 -1
  35. package/pipette/definitions/2/general/eight_channel_em/p1000/3_0.json +320 -0
  36. package/pipette/definitions/2/general/ninety_six_channel/p200/3_0.json +3 -3
  37. package/pipette/definitions/2/geometry/eight_channel_em/p1000/3_0.json +55 -0
  38. package/pipette/definitions/2/geometry/eight_channel_em/p1000/placeholder.gltf +0 -0
  39. package/pipette/definitions/2/liquid/eight_channel_em/p1000/default/3_0.json +236 -0
  40. package/tsconfig-data.json +1 -0
  41. package/tsconfig.json +1 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -194,6 +194,7 @@ export declare const SINGLE_LEFT_SLOT_FIXTURE: 'singleLeftSlot';
194
194
  export declare const SINGLE_CENTER_SLOT_FIXTURE: 'singleCenterSlot';
195
195
  export declare const SINGLE_RIGHT_SLOT_FIXTURE: 'singleRightSlot';
196
196
  export declare const STAGING_AREA_RIGHT_SLOT_FIXTURE: 'stagingAreaRightSlot';
197
+ export declare const TRASH_BIN_FIXTURE: 'trashBin';
197
198
  export declare const TRASH_BIN_ADAPTER_FIXTURE: 'trashBinAdapter';
198
199
  export declare const WASTE_CHUTE_RIGHT_ADAPTER_COVERED_FIXTURE: 'wasteChuteRightAdapterCovered';
199
200
  export declare const WASTE_CHUTE_RIGHT_ADAPTER_NO_COVER_FIXTURE: 'wasteChuteRightAdapterNoCover';
@@ -216,7 +217,6 @@ export declare const WASTE_CHUTE_FIXTURES: CutoutFixtureId[];
216
217
  export declare const WASTE_CHUTE_ONLY_FIXTURES: CutoutFixtureId[];
217
218
  export declare const WASTE_CHUTE_STAGING_AREA_FIXTURES: CutoutFixtureId[];
218
219
  export declare const LOW_VOLUME_PIPETTES: string[];
219
- export declare const NON_USER_ADDRESSABLE_LABWARE: string[];
220
220
  export declare const DEFAULT_LIQUID_COLORS: string[];
221
221
  export declare const DEPRECATED_WHALE_GREY = "#9395a0";
222
222
  export declare const INTERACTIVE_WELL_DATA_ATTRIBUTE = "data-wellname";
@@ -1,4 +1,5 @@
1
1
  import type { DeckDefinition, LabwareDefinition2, ModuleModel, RobotType, ThermalAdapterName } from '../types';
2
+ import type { CutoutId } from '../../deck/types/schemaV5';
2
3
  export { getWellNamePerMultiTip } from './getWellNamePerMultiTip';
3
4
  export { getWellTotalVolume } from './getWellTotalVolume';
4
5
  export { wellIsRect } from './wellIsRect';
@@ -29,6 +30,7 @@ export * from './sortRunTimeParameters';
29
30
  export declare const getLabwareDefIsStandard: (def: LabwareDefinition2) => boolean;
30
31
  export declare const getLabwareDefURI: (def: LabwareDefinition2) => string;
31
32
  export declare const constructLabwareDefURI: (namespace: string, loadName: string, version: string) => string;
33
+ export declare const RETIRED_LABWARE: string[];
32
34
  export declare const getLabwareDisplayName: (labwareDef: LabwareDefinition2) => string;
33
35
  export declare const getTiprackVolume: (labwareDef: LabwareDefinition2) => number;
34
36
  export declare function getLabwareHasQuirk(labwareDef: LabwareDefinition2, quirk: string): boolean;
@@ -54,3 +56,4 @@ export declare const getIsLabwareAboveHeight: (labwareDef: LabwareDefinition2, h
54
56
  export declare const getAdapterName: (labwareLoadname: string) => ThermalAdapterName;
55
57
  export declare const getCalibrationAdapterLoadName: (moduleModel: ModuleModel) => string | null;
56
58
  export declare const getDeckDefFromRobotType: (robotType: RobotType) => DeckDefinition;
59
+ export declare const getCutoutIdFromAddressableArea: (addressableAreaName: string, deckDefinition: DeckDefinition) => CutoutId | null;
@@ -13,7 +13,7 @@
13
13
  "dimensions": {
14
14
  "xDimension": 140,
15
15
  "yDimension": 98,
16
- "zDimension": 21
16
+ "zDimension": 55
17
17
  },
18
18
  "wells": {},
19
19
  "groups": [
@@ -66,10 +66,15 @@
66
66
  "y": 0,
67
67
  "z": 8.193
68
68
  },
69
+ "biorad_96_wellplate_200ul_pcr": {
70
+ "x": 0,
71
+ "y": 0,
72
+ "z": 8.08
73
+ },
69
74
  "opentrons_flex_deck_riser": {
70
75
  "x": 0,
71
76
  "y": 0,
72
- "z": 0
77
+ "z": 34
73
78
  }
74
79
  },
75
80
  "gripForce": 15,
@@ -98,6 +103,18 @@
98
103
  "y": 0,
99
104
  "z": -1
100
105
  }
106
+ },
107
+ "lidDisposalOffsets": {
108
+ "pickUpOffset": {
109
+ "x": 0,
110
+ "y": 0,
111
+ "z": 0
112
+ },
113
+ "dropOffset": {
114
+ "x": 0,
115
+ "y": 5.0,
116
+ "z": 50.0
117
+ }
101
118
  }
102
119
  }
103
120
  }
@@ -65,6 +65,20 @@
65
65
  "type": "number"
66
66
  }
67
67
  }
68
+ },
69
+ "pickUpAndDropOffsets": {
70
+ "type": "object",
71
+ "required": ["pickUpOffset", "dropOffset"],
72
+ "properties": {
73
+ "pickUpOffset": {
74
+ "$ref": "#/definitions/coordinates",
75
+ "description": "Offset added to calculate pick-up coordinates."
76
+ },
77
+ "dropOffset": {
78
+ "$ref": "#/definitions/coordinates",
79
+ "description": "Offset added to calculate drop coordinates."
80
+ }
81
+ }
68
82
  }
69
83
  },
70
84
  "type": "object",
@@ -343,21 +357,23 @@
343
357
  },
344
358
  "gripperOffsets": {
345
359
  "type": "object",
346
- "description": "Offsets to be added when calculating the coordinates a gripper should go to when picking up or dropping a labware on this labware.",
360
+ "description": "Offsets to add when picking up or dropping another labware stacked atop this one. Do not use this to adjust the position of the gripper paddles relative to this labware or the child labware; use `gripHeightFromLabwareBottom` on this definition or the child's definition for that.",
361
+ "additionalProperties": {
362
+ "$ref": "#/definitions/pickUpAndDropOffsets",
363
+ "description": "Properties here are named for, and matched based on, the deck slot that this labware is atop--or, if this labware is atop a module, the deck slot that that module is atop."
364
+ },
347
365
  "properties": {
348
366
  "default": {
349
- "type": "object",
350
- "properties": {
351
- "pickUpOffset": {
352
- "$ref": "#/definitions/coordinates",
353
- "description": "Offset added to calculate pick-up coordinates of a labware placed on this labware."
354
- },
355
- "dropOffset": {
356
- "$ref": "#/definitions/coordinates",
357
- "description": "Offset added to calculate drop coordinates of a labware placed on this labware."
358
- }
359
- },
360
- "required": ["pickUpOffset", "dropOffset"]
367
+ "$ref": "#/definitions/pickUpAndDropOffsets",
368
+ "description": "The offsets to use if there's no slot-specific match in `additionalProperties`."
369
+ },
370
+ "lidOffsets": {
371
+ "$ref": "#/definitions/pickUpAndDropOffsets",
372
+ "description": "Additional offsets for gripping this labware, if this labware is a lid. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware."
373
+ },
374
+ "lidDisposalOffsets": {
375
+ "$ref": "#/definitions/pickUpAndDropOffsets",
376
+ "description": "Additional offsets for gripping this labware, if this labware is a lid and it's being moved to a trash bin. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware."
361
377
  }
362
378
  }
363
379
  },
@@ -65,6 +65,20 @@
65
65
  }
66
66
  }
67
67
  },
68
+ "pickUpAndDropOffsets": {
69
+ "type": "object",
70
+ "required": ["pickUpOffset", "dropOffset"],
71
+ "properties": {
72
+ "pickUpOffset": {
73
+ "$ref": "#/definitions/coordinates",
74
+ "description": "Offset added to calculate pick-up coordinates."
75
+ },
76
+ "dropOffset": {
77
+ "$ref": "#/definitions/coordinates",
78
+ "description": "Offset added to calculate drop coordinates."
79
+ }
80
+ }
81
+ },
68
82
  "SphericalSegment": {
69
83
  "type": "object",
70
84
  "description": "A partial sphere shaped section at the bottom of the well.",
@@ -568,21 +582,23 @@
568
582
  },
569
583
  "gripperOffsets": {
570
584
  "type": "object",
571
- "description": "Offsets to be added when calculating the coordinates a gripper should go to when picking up or dropping a labware on this labware.",
585
+ "description": "Offsets to add when picking up or dropping another labware stacked atop this one. Do not use this to adjust the position of the gripper paddles relative to this labware or the child labware; use `gripHeightFromLabwareBottom` on this definition or the child's definition for that.",
586
+ "additionalProperties": {
587
+ "$ref": "#/definitions/pickUpAndDropOffsets",
588
+ "description": "Properties here are named for, and matched based on, the deck slot that this labware is atop--or, if this labware is atop a module, the deck slot that that module is atop."
589
+ },
572
590
  "properties": {
573
591
  "default": {
574
- "type": "object",
575
- "properties": {
576
- "pickUpOffset": {
577
- "$ref": "#/definitions/coordinates",
578
- "description": "Offset added to calculate pick-up coordinates of a labware placed on this labware."
579
- },
580
- "dropOffset": {
581
- "$ref": "#/definitions/coordinates",
582
- "description": "Offset added to calculate drop coordinates of a labware placed on this labware."
583
- }
584
- },
585
- "required": ["pickUpOffset", "dropOffset"]
592
+ "$ref": "#/definitions/pickUpAndDropOffsets",
593
+ "description": "The offsets to use if there's no slot-specific match in `additionalProperties`."
594
+ },
595
+ "lidOffsets": {
596
+ "$ref": "#/definitions/pickUpAndDropOffsets",
597
+ "description": "Additional offsets for gripping this labware, if this labware is a lid. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware."
598
+ },
599
+ "lidDisposalOffsets": {
600
+ "$ref": "#/definitions/pickUpAndDropOffsets",
601
+ "description": "Additional offsets for gripping this labware, if this labware is a lid and it's being moved to a trash bin. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware."
586
602
  }
587
603
  }
588
604
  },