opentrons 8.3.0a9__py2.py3-none-any.whl → 8.3.1a0__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.
- opentrons/protocol_engine/state/modules.py +8 -9
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/METADATA +4 -4
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/RECORD +7 -7
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/LICENSE +0 -0
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/WHEEL +0 -0
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/entry_points.txt +0 -0
- {opentrons-8.3.0a9.dist-info → opentrons-8.3.1a0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
import math
|
|
5
6
|
from dataclasses import dataclass
|
|
6
7
|
from typing import (
|
|
7
8
|
Dict,
|
|
@@ -1237,22 +1238,20 @@ class ModuleView:
|
|
|
1237
1238
|
else:
|
|
1238
1239
|
return False
|
|
1239
1240
|
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
) -> Dict[str, float]:
|
|
1241
|
+
@staticmethod
|
|
1242
|
+
def convert_absorbance_reader_data_points(data: List[float]) -> Dict[str, float]:
|
|
1243
1243
|
"""Return the data from the Absorbance Reader module in a map of wells for each read value."""
|
|
1244
1244
|
if len(data) == 96:
|
|
1245
1245
|
# We have to reverse the reader values because the Opentrons Absorbance Reader is rotated 180 degrees on the deck
|
|
1246
|
-
data.
|
|
1246
|
+
raw_data = data.copy()
|
|
1247
|
+
raw_data.reverse()
|
|
1247
1248
|
well_map: Dict[str, float] = {}
|
|
1248
|
-
for i, value in enumerate(
|
|
1249
|
+
for i, value in enumerate(raw_data):
|
|
1249
1250
|
row = chr(ord("A") + i // 12) # Convert index to row (A-H)
|
|
1250
1251
|
col = (i % 12) + 1 # Convert index to column (1-12)
|
|
1251
1252
|
well_key = f"{row}{col}"
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
) # Truncate the returned value to the third decimal place
|
|
1255
|
-
well_map[well_key] = truncated_value
|
|
1253
|
+
# Truncate the value to the third decimal place
|
|
1254
|
+
well_map[well_key] = math.floor(value * 1000) / 1000
|
|
1256
1255
|
return well_map
|
|
1257
1256
|
else:
|
|
1258
1257
|
raise ValueError(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentrons
|
|
3
|
-
Version: 8.3.
|
|
3
|
+
Version: 8.3.1a0
|
|
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.3.
|
|
24
|
+
Requires-Dist: opentrons-shared-data (==8.3.1a0)
|
|
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.3.
|
|
38
|
+
Requires-Dist: opentrons-hardware[flex] (==8.3.1a0) ; extra == 'flex-hardware'
|
|
39
39
|
Provides-Extra: ot2-hardware
|
|
40
|
-
Requires-Dist: opentrons-hardware (==8.3.
|
|
40
|
+
Requires-Dist: opentrons-hardware (==8.3.1a0) ; extra == 'ot2-hardware'
|
|
41
41
|
|
|
42
42
|
.. _Full API Documentation: http://docs.opentrons.com
|
|
43
43
|
|
|
@@ -439,7 +439,7 @@ opentrons/protocol_engine/state/geometry.py,sha256=q9iPDS7k9ZLof_HBDFm0VLXQ97ZZE
|
|
|
439
439
|
opentrons/protocol_engine/state/labware.py,sha256=Vq1Usz0Y0-NJhD-m7SeMy0ES-Jmnig1zn-jmIY57HAc,48308
|
|
440
440
|
opentrons/protocol_engine/state/liquid_classes.py,sha256=u_z75UYdiFAKG0yB3mr1il4T3qaS0Sotq8sL7KLODP8,2990
|
|
441
441
|
opentrons/protocol_engine/state/liquids.py,sha256=NoesktcQdJUjIVmet1uqqJPf-rzbo4SGemXwQC295W0,2338
|
|
442
|
-
opentrons/protocol_engine/state/modules.py,sha256=
|
|
442
|
+
opentrons/protocol_engine/state/modules.py,sha256=WoK7QEjENR-QjgGomaQ8XkhRW74trQ30RX8wzFMDAvo,53198
|
|
443
443
|
opentrons/protocol_engine/state/motion.py,sha256=pWt28-vBaO6dz_rtvoliUsGDvls_ML6sRfDOwmD0F7g,15086
|
|
444
444
|
opentrons/protocol_engine/state/pipettes.py,sha256=dDak7RGVTUIJxhdOd02qMZrI1ZQX_gdYyI5m6xsbYQ0,34674
|
|
445
445
|
opentrons/protocol_engine/state/state.py,sha256=oPqJgE3kze7uZJ37xvhU1XfULk8VLCQgnxlHK606gXg,15462
|
|
@@ -542,9 +542,9 @@ opentrons/util/helpers.py,sha256=3hr801bWGbxEcOFAS7f-iOhmnUhoK5qahbB8SIvaCfY,165
|
|
|
542
542
|
opentrons/util/linal.py,sha256=IlKAP9HkNBBgULeSf4YVwSKHdx9jnCjSr7nvDvlRALg,5753
|
|
543
543
|
opentrons/util/logging_config.py,sha256=UHoY7dyD6WMYNP5GKowbMxUSG_hlXeI5TaIwksR5u-U,6887
|
|
544
544
|
opentrons/util/performance_helpers.py,sha256=ew7H8XD20iS6-2TJAzbQeyzStZkkE6PzHt_Adx3wbZQ,5172
|
|
545
|
-
opentrons-8.3.
|
|
546
|
-
opentrons-8.3.
|
|
547
|
-
opentrons-8.3.
|
|
548
|
-
opentrons-8.3.
|
|
549
|
-
opentrons-8.3.
|
|
550
|
-
opentrons-8.3.
|
|
545
|
+
opentrons-8.3.1a0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
546
|
+
opentrons-8.3.1a0.dist-info/METADATA,sha256=tcSGFjW-Ru-CHrEeWUA71hCG8SmMIBwlxuJMc3gbFOc,5084
|
|
547
|
+
opentrons-8.3.1a0.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
|
|
548
|
+
opentrons-8.3.1a0.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
|
|
549
|
+
opentrons-8.3.1a0.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
|
|
550
|
+
opentrons-8.3.1a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|