opentrons 8.4.0a8__py2.py3-none-any.whl → 8.4.0a9__py2.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.

Potentially problematic release.


This version of opentrons might be problematic. Click here for more details.

@@ -180,7 +180,11 @@ async def prepare_for_aspirate(
180
180
  else:
181
181
  return SuccessData(
182
182
  public=EmptyResult(),
183
- state_update=StateUpdate().set_fluid_empty(pipette_id=pipette_id),
183
+ state_update=StateUpdate()
184
+ .set_fluid_empty(pipette_id=pipette_id)
185
+ .set_pipette_ready_to_aspirate(
186
+ pipette_id=pipette_id, ready_to_aspirate=True
187
+ ),
184
188
  )
185
189
 
186
190
 
@@ -95,12 +95,7 @@ class PrepareToAspirateImplementation(
95
95
  if isinstance(prepare_result, DefinedErrorData):
96
96
  return prepare_result
97
97
  else:
98
- return SuccessData(
99
- public=PrepareToAspirateResult(),
100
- state_update=prepare_result.state_update.set_pipette_ready_to_aspirate(
101
- pipette_id=params.pipetteId, ready_to_aspirate=True
102
- ),
103
- )
98
+ return self._transform_result(prepare_result)
104
99
 
105
100
 
106
101
  class PrepareToAspirate(
@@ -197,7 +197,7 @@ class GeometryView:
197
197
  (
198
198
  self._get_highest_z_from_labware_data(lw_data)
199
199
  for lw_data in self._labware.get_all()
200
- if lw_data.location != OFF_DECK_LOCATION
200
+ if lw_data.location not in [OFF_DECK_LOCATION, SYSTEM_LOCATION]
201
201
  and not self._labware.get_labware_by_lid_id(lw_data.id)
202
202
  ),
203
203
  default=0.0,
@@ -876,6 +876,13 @@ class GeometryView:
876
876
  f"Labware {labware_id} does not have a slot associated with it"
877
877
  f" since it is no longer on the deck."
878
878
  )
879
+ else:
880
+ _LOG.error(
881
+ f"Unhandled location type in get_ancestor_slot_name: {labware.location}"
882
+ )
883
+ raise errors.InvalidLabwarePositionError(
884
+ f"Cannot get ancestor slot of {self._labware.get_display_name(labware_id)} with location {labware.location}"
885
+ )
879
886
 
880
887
  return slot_name
881
888
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentrons
3
- Version: 8.4.0a8
3
+ Version: 8.4.0a9
4
4
  Summary: The Opentrons API is a simple framework designed to make writing automated biology lab protocols easy.
5
5
  Author: Opentrons
6
6
  Author-email: engineering@opentrons.com
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Topic :: Scientific/Engineering
22
22
  Requires-Python: >=3.10
23
23
  License-File: ../LICENSE
24
- Requires-Dist: opentrons-shared-data (==8.4.0a8)
24
+ Requires-Dist: opentrons-shared-data (==8.4.0a9)
25
25
  Requires-Dist: aionotify (==0.3.1)
26
26
  Requires-Dist: anyio (<4.0.0,>=3.6.1)
27
27
  Requires-Dist: jsonschema (<4.18.0,>=3.0.1)
@@ -35,9 +35,9 @@ Requires-Dist: pyusb (==1.2.1)
35
35
  Requires-Dist: packaging (>=21.0)
36
36
  Requires-Dist: importlib-metadata (>=1.0) ; python_version < "3.8"
37
37
  Provides-Extra: flex-hardware
38
- Requires-Dist: opentrons-hardware[flex] (==8.4.0a8) ; extra == 'flex-hardware'
38
+ Requires-Dist: opentrons-hardware[flex] (==8.4.0a9) ; extra == 'flex-hardware'
39
39
  Provides-Extra: ot2-hardware
40
- Requires-Dist: opentrons-hardware (==8.4.0a8) ; extra == 'ot2-hardware'
40
+ Requires-Dist: opentrons-hardware (==8.4.0a9) ; extra == 'ot2-hardware'
41
41
 
42
42
  .. _Full API Documentation: http://docs.opentrons.com
43
43
 
@@ -330,8 +330,8 @@ opentrons/protocol_engine/commands/move_to_coordinates.py,sha256=2qZliN1ZLdgNDiG
330
330
  opentrons/protocol_engine/commands/move_to_well.py,sha256=m3GnX34Aimf7WCDjkxOMFF31kCyXVo_RqY-2S8H8Vp4,3418
331
331
  opentrons/protocol_engine/commands/movement_common.py,sha256=bnJuwcp6nkyoxkTXqfSXnnKgZ7TKflkMGZSHXuPWsRk,11950
332
332
  opentrons/protocol_engine/commands/pick_up_tip.py,sha256=pa2PXDvPyh5ZIYQeu_9XUnybE9CQ6VXooDO07gXCS5U,7726
333
- opentrons/protocol_engine/commands/pipetting_common.py,sha256=Rok3Fy3jwJj_irXVRnUSjzpRpKVzVbYCv7odRQAYWEY,15222
334
- opentrons/protocol_engine/commands/prepare_to_aspirate.py,sha256=0Xh0E0OEE2730zR-hhmp4y__MMKyJLZ0S8I68BTH83g,3776
333
+ opentrons/protocol_engine/commands/pipetting_common.py,sha256=WoO_kCFznxvAO1vayiNvpI1-b7EQsaj_aWjhfQXTnEE,15355
334
+ opentrons/protocol_engine/commands/prepare_to_aspirate.py,sha256=qs1GtVfzyk_Lzv8g6K8GIZg4NwwH4Uop9_df6YFsBDA,3559
335
335
  opentrons/protocol_engine/commands/pressure_dispense.py,sha256=mGCJDFKwy6MPHg-AOttDg9TffHmp-eM_1y6x8CaErJE,4711
336
336
  opentrons/protocol_engine/commands/reload_labware.py,sha256=eB1X7M9rHso1qc0beBTVHm5SHbjS6IODsIDj9RhR3mI,2910
337
337
  opentrons/protocol_engine/commands/retract_axis.py,sha256=3h0eb6O3fjrCBY89q9tnjDFUGQXN9qafURxvXGcmCm4,2889
@@ -450,7 +450,7 @@ opentrons/protocol_engine/state/config.py,sha256=7jSGxC6Vqj1eA8fqZ2I3zjlxVXg8pxv
450
450
  opentrons/protocol_engine/state/files.py,sha256=w8xxxg8HY0RqKKEGSfHWfrjV54Gb02O3dwtisJ-9j8E,1753
451
451
  opentrons/protocol_engine/state/fluid_stack.py,sha256=uwkf0qYk1UX5iU52xmk-e3yLPK8OG-TtMCcBqrkVFpM,5932
452
452
  opentrons/protocol_engine/state/frustum_helpers.py,sha256=uRBLLR75Z_PnfVd-U7gPF3NeOALR3TgLNCojgxB4z0o,17343
453
- opentrons/protocol_engine/state/geometry.py,sha256=REIucYpouMOUXpr3450ExaiNapnb-aZEzSl_a-95rWU,100878
453
+ opentrons/protocol_engine/state/geometry.py,sha256=v5saIiG6nwMSq_bWXcZUsmOabmHJjG80s7RdxaX-DUg,101235
454
454
  opentrons/protocol_engine/state/labware.py,sha256=rehy7R1HIhxx3DTtTHIKxqHoBQJ_1tDhhiculMJeIy8,57556
455
455
  opentrons/protocol_engine/state/liquid_classes.py,sha256=u_z75UYdiFAKG0yB3mr1il4T3qaS0Sotq8sL7KLODP8,2990
456
456
  opentrons/protocol_engine/state/liquids.py,sha256=NoesktcQdJUjIVmet1uqqJPf-rzbo4SGemXwQC295W0,2338
@@ -583,9 +583,9 @@ opentrons/util/linal.py,sha256=IlKAP9HkNBBgULeSf4YVwSKHdx9jnCjSr7nvDvlRALg,5753
583
583
  opentrons/util/logging_config.py,sha256=7et4YYuQdWdq_e50U-8vFS_QyNBRgdnqPGAQJm8qrIo,9954
584
584
  opentrons/util/logging_queue_handler.py,sha256=ZsSJwy-oV8DXwpYiZisQ1PbYwmK2cOslD46AcyJ1E4I,2484
585
585
  opentrons/util/performance_helpers.py,sha256=ew7H8XD20iS6-2TJAzbQeyzStZkkE6PzHt_Adx3wbZQ,5172
586
- opentrons-8.4.0a8.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
587
- opentrons-8.4.0a8.dist-info/METADATA,sha256=9ntyEPWku4FwnS7WhzXREh1pQgG-LVLXuLFWUMhRk_A,5084
588
- opentrons-8.4.0a8.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
589
- opentrons-8.4.0a8.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
590
- opentrons-8.4.0a8.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
591
- opentrons-8.4.0a8.dist-info/RECORD,,
586
+ opentrons-8.4.0a9.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
587
+ opentrons-8.4.0a9.dist-info/METADATA,sha256=q9nO7VyTyS_ehqIVeJ9SkKhqiDo32Qgai3bDc7n2nxw,5084
588
+ opentrons-8.4.0a9.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
589
+ opentrons-8.4.0a9.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
590
+ opentrons-8.4.0a9.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
591
+ opentrons-8.4.0a9.dist-info/RECORD,,