opentrons 8.7.0a8__py3-none-any.whl → 8.7.0a10__py3-none-any.whl

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.
opentrons/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '8.7.0a8'
32
- __version_tuple__ = version_tuple = (8, 7, 0, 'a8')
31
+ __version__ = version = '8.7.0a10'
32
+ __version_tuple__ = version_tuple = (8, 7, 0, 'a10')
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1338,7 +1338,7 @@ class FlexStackerContext(ModuleContext):
1338
1338
  def set_stored_labware_items(
1339
1339
  self,
1340
1340
  labware: list[Labware],
1341
- stacking_offset_z: float | None,
1341
+ stacking_offset_z: float | None = None,
1342
1342
  ) -> None:
1343
1343
  """Configure the labware the Flex Stacker will store during a protocol by providing an initial list of stored labware objects. The start of the list represents the bottom of the Stacker,
1344
1344
  and the end of the list represents the top of the Stacker.
@@ -1467,16 +1467,61 @@ class FlexStackerContext(ModuleContext):
1467
1467
  - Labware with lid and adapter: the adapter (bottom side) of the upper labware unit overlaps with the lid (top side) of the unit below.
1468
1468
  """
1469
1469
 
1470
+ if self._api_version < validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE:
1471
+ if adapter_namespace is not None:
1472
+ raise APIVersionError(
1473
+ api_element="The `adapter_namespace` parameter",
1474
+ until_version=str(
1475
+ validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE
1476
+ ),
1477
+ current_version=str(self._api_version),
1478
+ )
1479
+ if adapter_version is not None:
1480
+ raise APIVersionError(
1481
+ api_element="The `adapter_version` parameter",
1482
+ until_version=str(
1483
+ validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE
1484
+ ),
1485
+ current_version=str(self._api_version),
1486
+ )
1487
+ if lid_namespace is not None:
1488
+ raise APIVersionError(
1489
+ api_element="The `lid_namespace` parameter",
1490
+ until_version=str(
1491
+ validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE
1492
+ ),
1493
+ current_version=str(self._api_version),
1494
+ )
1495
+ if lid_version is not None:
1496
+ raise APIVersionError(
1497
+ api_element="The `lid_version` parameter",
1498
+ until_version=str(
1499
+ validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE
1500
+ ),
1501
+ current_version=str(self._api_version),
1502
+ )
1503
+
1504
+ if self._api_version < validation.NAMESPACE_VERSION_ADAPTER_LID_VERSION_GATE:
1505
+ checked_adapter_namespace = namespace
1506
+ checked_adapter_version = version
1507
+ checked_lid_namespace = namespace
1508
+ checked_lid_version = version
1509
+ else:
1510
+ checked_adapter_namespace = adapter_namespace
1511
+ checked_adapter_version = adapter_version
1512
+ checked_lid_namespace = lid_namespace
1513
+ checked_lid_version = lid_version
1514
+
1470
1515
  self._core.set_stored_labware(
1471
1516
  main_load_name=load_name,
1472
1517
  main_namespace=namespace,
1473
1518
  main_version=version,
1474
1519
  lid_load_name=lid,
1475
- lid_namespace=lid_namespace,
1476
- lid_version=lid_version,
1520
+ lid_namespace=checked_lid_namespace,
1521
+ lid_version=checked_lid_version,
1477
1522
  adapter_load_name=adapter,
1478
- adapter_namespace=adapter_namespace,
1479
- adapter_version=adapter_version,
1523
+ adapter_namespace=checked_adapter_namespace,
1524
+ adapter_version=checked_adapter_version,
1480
1525
  count=count,
1481
1526
  stacking_offset_z=stacking_offset_z,
1482
1527
  )
@@ -241,7 +241,7 @@ class LabwareMovementHandler:
241
241
  disable_geometry_grip_check = False
242
242
  if labware_definition.parameters.quirks is not None:
243
243
  disable_geometry_grip_check = (
244
- Quirks.disableGeometryBasedGripCheck # type: ignore[comparison-overlap]
244
+ Quirks.disableGeometryBasedGripCheck.value
245
245
  in labware_definition.parameters.quirks
246
246
  )
247
247
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opentrons
3
- Version: 8.7.0a8
3
+ Version: 8.7.0a10
4
4
  Summary: The Opentrons API is a simple framework designed to make writing automated biology lab protocols easy.
5
5
  Project-URL: opentrons.com, https://www.opentrons.com
6
6
  Project-URL: Source Code On Github, https://github.com/Opentrons/opentrons/tree/edge/api
@@ -24,7 +24,7 @@ Requires-Dist: click<9,>=8.0.0
24
24
  Requires-Dist: importlib-metadata>=1.0; python_version < '3.8'
25
25
  Requires-Dist: jsonschema<4.18.0,>=3.0.1
26
26
  Requires-Dist: numpy<2,>=1.20.0
27
- Requires-Dist: opentrons-shared-data==8.7.0a8
27
+ Requires-Dist: opentrons-shared-data==8.7.0a10
28
28
  Requires-Dist: packaging>=21.0
29
29
  Requires-Dist: pydantic-settings<3,>=2
30
30
  Requires-Dist: pydantic<3,>=2.0.0
@@ -32,6 +32,6 @@ Requires-Dist: pyserial>=3.5
32
32
  Requires-Dist: pyusb==1.2.1
33
33
  Requires-Dist: typing-extensions<5,>=4.0.0
34
34
  Provides-Extra: flex-hardware
35
- Requires-Dist: opentrons-hardware[flex]==8.7.0a8; extra == 'flex-hardware'
35
+ Requires-Dist: opentrons-hardware[flex]==8.7.0a10; extra == 'flex-hardware'
36
36
  Provides-Extra: ot2-hardware
37
- Requires-Dist: opentrons-hardware==8.7.0a8; extra == 'ot2-hardware'
37
+ Requires-Dist: opentrons-hardware==8.7.0a10; extra == 'ot2-hardware'
@@ -1,5 +1,5 @@
1
1
  opentrons/__init__.py,sha256=TQ_Ca_zzAM3iLzAysWKkFkQHG8-imihxDPQbLCYrf-E,4533
2
- opentrons/_version.py,sha256=6QOBIA4KOTSc8ttyS_QKmJl9f44y2feEQu9QWvzXG7Q,712
2
+ opentrons/_version.py,sha256=nr8pp4RTJ0kGcX9IwdiTlELV0HayCeKRcNmb2aCUrQU,714
3
3
  opentrons/execute.py,sha256=Y88qICDiHWQjU0L4Ou7DI5OXXu7zZcdkUvNUYmZqIfc,29282
4
4
  opentrons/legacy_broker.py,sha256=XnuEBBlrHCThc31RFW2UR0tGqctqWZ-CZ9vSC4L9whU,1553
5
5
  opentrons/ordered_set.py,sha256=g-SB3qA14yxHu9zjGyc2wC7d2TUCBE6fKZlHAtbPzI8,4082
@@ -235,7 +235,7 @@ opentrons/protocol_api/deck.py,sha256=94vFceg1SC1bAGd7TvC1ZpYwnJR-VlzurEZ6jkacYe
235
235
  opentrons/protocol_api/disposal_locations.py,sha256=NRiSGmDR0LnbyEkWSOM-o64uR2fUoB1NWJG7Y7SsJSs,7920
236
236
  opentrons/protocol_api/instrument_context.py,sha256=dOg04iqYnNMJ7XnlHBX3tTGiEahc-7feIuErcevRdwY,141216
237
237
  opentrons/protocol_api/labware.py,sha256=ZGukS0oE6vOltolNx9ZFXj_HFhm5BRaTnS0tJUKxGsE,63061
238
- opentrons/protocol_api/module_contexts.py,sha256=cPyay45R3SeBckC4fk8txuC7DZoCSeoVSp1ALCMNipQ,63292
238
+ opentrons/protocol_api/module_contexts.py,sha256=Dze56vdS6UsHoqIi4CKpl5gjDNBF8A1BoSYCFOOGKL8,65375
239
239
  opentrons/protocol_api/module_validation_and_errors.py,sha256=ljst-M_KK78GnyG3pyZ_6yoYkMY3HORS1QyQyWrme-U,2250
240
240
  opentrons/protocol_api/protocol_context.py,sha256=2F-awiZGGNwwdu2xxkjrVDCuemJaV3z4bSIBZoXVVlY,77105
241
241
  opentrons/protocol_api/robot_context.py,sha256=D6ZdpFX30VTtVUDHitsVjabJQXD5TxOV9_Z6sik1LvE,11891
@@ -427,7 +427,7 @@ opentrons/protocol_engine/execution/error_recovery_hardware_state_synchronizer.p
427
427
  opentrons/protocol_engine/execution/gantry_mover.py,sha256=LFTPmzuGRuP6IspgXxIEyJIXV0tHkc4UWDDjWFCClYo,26477
428
428
  opentrons/protocol_engine/execution/hardware_stopper.py,sha256=ZlhVYEdFfuKqp5slZBkustXcRPy5fJsw2rmfYzHuJkQ,6127
429
429
  opentrons/protocol_engine/execution/heater_shaker_movement_flagger.py,sha256=BSFLzSSeELAYZCrCUfJZx5DdlrwU06Ur92TYd0T-hzM,9084
430
- opentrons/protocol_engine/execution/labware_movement.py,sha256=ls9k5EDokiiqgoNcSrVrWDdsuNzEmKuLhJ0SYC0nWlc,13154
430
+ opentrons/protocol_engine/execution/labware_movement.py,sha256=hWPTGLcdHonVZvNFxcbOgpYn5l03CgkVBqbj4vDuNao,13124
431
431
  opentrons/protocol_engine/execution/movement.py,sha256=ZU4K4OHnzZYCZbk3RwfSOC6C3T2jtBlvYMppJhJSF08,12749
432
432
  opentrons/protocol_engine/execution/pipetting.py,sha256=cnJYbLiJ2QD1xziD8dkRm0mZG3xOk00klW8Ff8rgSG4,22199
433
433
  opentrons/protocol_engine/execution/queue_worker.py,sha256=LM753TrQzJoKUSIrtcaHDOWLe58zcpx-fUOLVpyDlHM,3302
@@ -595,8 +595,8 @@ opentrons/util/linal.py,sha256=IlKAP9HkNBBgULeSf4YVwSKHdx9jnCjSr7nvDvlRALg,5753
595
595
  opentrons/util/logging_config.py,sha256=7et4YYuQdWdq_e50U-8vFS_QyNBRgdnqPGAQJm8qrIo,9954
596
596
  opentrons/util/logging_queue_handler.py,sha256=ZsSJwy-oV8DXwpYiZisQ1PbYwmK2cOslD46AcyJ1E4I,2484
597
597
  opentrons/util/performance_helpers.py,sha256=ew7H8XD20iS6-2TJAzbQeyzStZkkE6PzHt_Adx3wbZQ,5172
598
- opentrons-8.7.0a8.dist-info/METADATA,sha256=h4Ga21sNoSoWHfEygxLFQHwKT1yEzhidYsgNaEx8OaI,1607
599
- opentrons-8.7.0a8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
600
- opentrons-8.7.0a8.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
601
- opentrons-8.7.0a8.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
602
- opentrons-8.7.0a8.dist-info/RECORD,,
598
+ opentrons-8.7.0a10.dist-info/METADATA,sha256=flfjNar721c8L1_5wlkCCDBUHrnwNNNNOLEusIXvFoA,1611
599
+ opentrons-8.7.0a10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
600
+ opentrons-8.7.0a10.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
601
+ opentrons-8.7.0a10.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
602
+ opentrons-8.7.0a10.dist-info/RECORD,,