opentrons 8.2.0a3__py2.py3-none-any.whl → 8.2.0a4__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.

@@ -80,6 +80,10 @@ class ReadAbsorbanceImpl(
80
80
  raise CannotPerformModuleAction(
81
81
  "Cannot perform Read action on Absorbance Reader without calling `.initialize(...)` first."
82
82
  )
83
+ if abs_reader_substate.is_lid_on is False:
84
+ raise CannotPerformModuleAction(
85
+ "Absorbance Plate Reader can't read a plate with the lid open. Call `close_lid()` first."
86
+ )
83
87
 
84
88
  # TODO: we need to return a file ID and increase the file count even when a moduel is not attached
85
89
  if (
@@ -1,6 +1,8 @@
1
1
  """Ungrip labware payload, result, and implementaiton."""
2
2
 
3
3
  from __future__ import annotations
4
+
5
+ from opentrons.hardware_control.types import Axis
4
6
  from opentrons.protocol_engine.errors.exceptions import GripperNotAttachedError
5
7
  from pydantic import BaseModel
6
8
  from typing import Optional, Type
@@ -46,7 +48,7 @@ class UnsafeUngripLabwareImplementation(
46
48
  ot3_hardware_api = ensure_ot3_hardware(self._hardware_api)
47
49
  if not ot3_hardware_api.has_gripper():
48
50
  raise GripperNotAttachedError("No gripper found to perform ungrip.")
49
- await ot3_hardware_api.ungrip()
51
+ await ot3_hardware_api.home([Axis.G])
50
52
  return SuccessData(
51
53
  public=UnsafeUngripLabwareResult(),
52
54
  )
@@ -1268,7 +1268,10 @@ class ModuleView(HasState[ModuleState]):
1268
1268
  row = chr(ord("A") + i // 12) # Convert index to row (A-H)
1269
1269
  col = (i % 12) + 1 # Convert index to column (1-12)
1270
1270
  well_key = f"{row}{col}"
1271
- well_map[well_key] = value
1271
+ truncated_value = float(
1272
+ "{:.5}".format(str(value))
1273
+ ) # Truncate the returned value to the third decimal place
1274
+ well_map[well_key] = truncated_value
1272
1275
  return well_map
1273
1276
  else:
1274
1277
  raise ValueError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentrons
3
- Version: 8.2.0a3
3
+ Version: 8.2.0a4
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.2.0a3
24
+ Requires-Dist: opentrons-shared-data ==8.2.0a4
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
@@ -34,9 +34,9 @@ Requires-Dist: pyusb ==1.2.1
34
34
  Requires-Dist: packaging >=21.0
35
35
  Requires-Dist: importlib-metadata >=1.0 ; python_version < "3.8"
36
36
  Provides-Extra: flex-hardware
37
- Requires-Dist: opentrons-hardware[flex] ==8.2.0a3 ; extra == 'flex-hardware'
37
+ Requires-Dist: opentrons-hardware[flex] ==8.2.0a4 ; extra == 'flex-hardware'
38
38
  Provides-Extra: ot2-hardware
39
- Requires-Dist: opentrons-hardware ==8.2.0a3 ; extra == 'ot2-hardware'
39
+ Requires-Dist: opentrons-hardware ==8.2.0a4 ; extra == 'ot2-hardware'
40
40
 
41
41
  .. _Full API Documentation: http://docs.opentrons.com
42
42
 
@@ -325,7 +325,7 @@ opentrons/protocol_engine/commands/absorbance_reader/__init__.py,sha256=umS98Llk
325
325
  opentrons/protocol_engine/commands/absorbance_reader/close_lid.py,sha256=i6kggql8hJgTxpUbc5dmdMdHDsYWiczfMvZNA72FmvI,5540
326
326
  opentrons/protocol_engine/commands/absorbance_reader/initialize.py,sha256=bbs7FwfpGVNAa5UT_rMV7ImrRnmREN9kRhmG8xJsAaU,5373
327
327
  opentrons/protocol_engine/commands/absorbance_reader/open_lid.py,sha256=Ef5coWs4GGOzmZbrAFZXTKq8hZCC7rJc2DVCOU2PFJg,5531
328
- opentrons/protocol_engine/commands/absorbance_reader/read.py,sha256=xu5KijW_sSEtjdhNIEctYkQBZC8Baj650W6s8nXfTKw,8187
328
+ opentrons/protocol_engine/commands/absorbance_reader/read.py,sha256=QZ8zjjlKQPXprekxsEjgFxmvLns4Q0NpnZ6hbFAoq6k,8403
329
329
  opentrons/protocol_engine/commands/calibration/__init__.py,sha256=JjNnULLBM3j8VtpfHOvH51em9jVLR_ezyrUJUWqxuYI,1611
330
330
  opentrons/protocol_engine/commands/calibration/calibrate_gripper.py,sha256=1HgEsH-0ycGD-OlxdmCTIuBeSCzVTc1vepSjVirai-g,5570
331
331
  opentrons/protocol_engine/commands/calibration/calibrate_module.py,sha256=zjkgPgHHn5CM-ztvbcKcTaAMvj9zsMLNyykynwec0j0,4172
@@ -363,7 +363,7 @@ opentrons/protocol_engine/commands/unsafe/unsafe_blow_out_in_place.py,sha256=K1i
363
363
  opentrons/protocol_engine/commands/unsafe/unsafe_drop_tip_in_place.py,sha256=v5h1sLxx_NMAhVCLbmECd7sD0PsecB4Dj-oaBEe0YBs,3635
364
364
  opentrons/protocol_engine/commands/unsafe/unsafe_engage_axes.py,sha256=hCRqFeBInC9Mxz9LqUgIrjTTAjuMEq5MJxCqqXwi3N4,2552
365
365
  opentrons/protocol_engine/commands/unsafe/unsafe_place_labware.py,sha256=etNdLxj0TtmBA5fTLR-OSfbnRNbXKDzE__aKRAkvWMM,7866
366
- opentrons/protocol_engine/commands/unsafe/unsafe_ungrip_labware.py,sha256=MSYftVeLHqnIyX0n9IJLq6XOb7P835EQg7KR3n3PU6c,2397
366
+ opentrons/protocol_engine/commands/unsafe/unsafe_ungrip_labware.py,sha256=408KbcJgroOA7Qhs-qih-ce-2n-ixGKu6mhv33TplJ0,2454
367
367
  opentrons/protocol_engine/commands/unsafe/update_position_estimators.py,sha256=Jgds_cwEHBiiDyJVK6wL34VTWZikrSVYJSRUohnsod8,3044
368
368
  opentrons/protocol_engine/errors/__init__.py,sha256=4CEG_WmrdSmESVkSkwfLlbNwW_r8TlMbD_fEXzcn5qg,5232
369
369
  opentrons/protocol_engine/errors/error_occurrence.py,sha256=Uoa0tqJ4C-oosDUwk-XXf0NxgWVnVnnhTFOqJAT1J_o,7896
@@ -412,7 +412,7 @@ opentrons/protocol_engine/state/frustum_helpers.py,sha256=OMa7_3INieaNhkFb6wVC6l
412
412
  opentrons/protocol_engine/state/geometry.py,sha256=-yEsGHPfjUVNgVWJKeBiJyzl65wAzSvjS7W-kOxukCQ,67902
413
413
  opentrons/protocol_engine/state/labware.py,sha256=Ns_GoUKxL55P6J2YEch5GZCVvTbQZS0h4CbZwCr7Frc,44758
414
414
  opentrons/protocol_engine/state/liquids.py,sha256=TwchzB7xNt7CAd3wX3BA_5DXrQhGwj_uFQsv0FWOXXk,1886
415
- opentrons/protocol_engine/state/modules.py,sha256=8d5YOPhGs8jnw5mDQiGSrhtvozZkCtcRQd49YesVmds,53936
415
+ opentrons/protocol_engine/state/modules.py,sha256=NCx6s9WhFnv-XXIcnfnJ_rqLelI7pzqIv8v5ACrG2xE,54110
416
416
  opentrons/protocol_engine/state/motion.py,sha256=1KEm1HXdkuFKNe2lElZnNfJedml4afMFnmcDvG-3fLA,14937
417
417
  opentrons/protocol_engine/state/pipettes.py,sha256=jXhPGLHT1Ypc_tt8UkWZz51sCZ9ld4umr7AyuhlvxoU,30861
418
418
  opentrons/protocol_engine/state/state.py,sha256=HbkGfTLYNPlb9yu2sCi4UOJQrgXedi3w8xbYc0QCn-w,14550
@@ -512,9 +512,9 @@ opentrons/util/helpers.py,sha256=3hr801bWGbxEcOFAS7f-iOhmnUhoK5qahbB8SIvaCfY,165
512
512
  opentrons/util/linal.py,sha256=IlKAP9HkNBBgULeSf4YVwSKHdx9jnCjSr7nvDvlRALg,5753
513
513
  opentrons/util/logging_config.py,sha256=t3xRxQ5zfXQsU8S4gl6yvrtqx6dxOGyBwIM43CGRyjE,6887
514
514
  opentrons/util/performance_helpers.py,sha256=ew7H8XD20iS6-2TJAzbQeyzStZkkE6PzHt_Adx3wbZQ,5172
515
- opentrons-8.2.0a3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
516
- opentrons-8.2.0a3.dist-info/METADATA,sha256=Hiug_qRDAMEctJZO5vxeTVfBQWl2wEB_OS20oz79Ru0,5019
517
- opentrons-8.2.0a3.dist-info/WHEEL,sha256=_4XEmVmaBFWtekSGrbfOGNjC2I5lUr0lZSRblBllIFA,109
518
- opentrons-8.2.0a3.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
519
- opentrons-8.2.0a3.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
520
- opentrons-8.2.0a3.dist-info/RECORD,,
515
+ opentrons-8.2.0a4.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
516
+ opentrons-8.2.0a4.dist-info/METADATA,sha256=SFV-QYAri_wgUI2MTAXq9EWhvkbu-8XHkJvUCJ3Wfks,5019
517
+ opentrons-8.2.0a4.dist-info/WHEEL,sha256=_4XEmVmaBFWtekSGrbfOGNjC2I5lUr0lZSRblBllIFA,109
518
+ opentrons-8.2.0a4.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
519
+ opentrons-8.2.0a4.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
520
+ opentrons-8.2.0a4.dist-info/RECORD,,