opentrons 8.5.0a2__py2.py3-none-any.whl → 8.5.0a3__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.

@@ -115,16 +115,28 @@ class TipPosition:
115
115
  return self._position_reference
116
116
 
117
117
  @position_reference.setter
118
- def position_reference(self, new_position: str) -> None:
119
- self._position_reference = PositionReference(new_position)
118
+ def position_reference(self, new_position: Union[str, PositionReference]) -> None:
119
+ self._position_reference = (
120
+ new_position
121
+ if isinstance(new_position, PositionReference)
122
+ else PositionReference(new_position)
123
+ )
120
124
 
121
125
  @property
122
126
  def offset(self) -> Coordinate:
123
127
  return self._offset
124
128
 
125
129
  @offset.setter
126
- def offset(self, new_offset: Sequence[float]) -> None:
127
- x, y, z = validation.validate_coordinates(new_offset)
130
+ def offset(self, new_offset: Union[Sequence[float], Coordinate]) -> None:
131
+ if isinstance(new_offset, Coordinate):
132
+ new_coordinate: Sequence[Union[int, float]] = [
133
+ new_offset.x,
134
+ new_offset.y,
135
+ new_offset.z,
136
+ ]
137
+ else:
138
+ new_coordinate = new_offset
139
+ x, y, z = validation.validate_coordinates(new_coordinate)
128
140
  self._offset = Coordinate(x=x, y=y, z=z)
129
141
 
130
142
  def as_shared_data_model(self) -> SharedDataTipPosition:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentrons
3
- Version: 8.5.0a2
3
+ Version: 8.5.0a3
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.5.0a2)
24
+ Requires-Dist: opentrons-shared-data (==8.5.0a3)
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.5.0a2) ; extra == 'flex-hardware'
38
+ Requires-Dist: opentrons-hardware[flex] (==8.5.0a3) ; extra == 'flex-hardware'
39
39
  Provides-Extra: ot2-hardware
40
- Requires-Dist: opentrons-hardware (==8.5.0a2) ; extra == 'ot2-hardware'
40
+ Requires-Dist: opentrons-hardware (==8.5.0a3) ; extra == 'ot2-hardware'
41
41
 
42
42
  .. _Full API Documentation: http://docs.opentrons.com
43
43
 
@@ -219,7 +219,7 @@ opentrons/motion_planning/types.py,sha256=C4jXv5b02iBQmePMLrujgvHwqvEphBWtY18MPf
219
219
  opentrons/motion_planning/waypoints.py,sha256=Oo5BD7FKNN5WHDLA-ptHMurc3pmRPA-a6srazVyiUXs,8210
220
220
  opentrons/protocol_api/__init__.py,sha256=ZzmlAkCkLLDE2OLJXGIswjEmc_eiU5o91MUgknE79EY,2535
221
221
  opentrons/protocol_api/_liquid.py,sha256=exYaa5UjQQzmDROVBCnyqOVkbyZs0G1ZBMhH2bORNJY,5031
222
- opentrons/protocol_api/_liquid_properties.py,sha256=EdrPAyAF5hwDQb989ZJinG8OuxWf1L6wpf4Uk-stKXk,27486
222
+ opentrons/protocol_api/_liquid_properties.py,sha256=DHdDHoset72mKq2sLaf355Zz1XdsP3hIiTkQZbUscb0,27913
223
223
  opentrons/protocol_api/_nozzle_layout.py,sha256=-WA71bRDISs9bLwHdWqAyM7HBc53sOA8_BOVqYsuN3g,1095
224
224
  opentrons/protocol_api/_parameter_context.py,sha256=dvGMVObWDSERrXfTKSIwc4YeIdF_RD-q8ASNaSBTcxw,12967
225
225
  opentrons/protocol_api/_parameters.py,sha256=BGH50BFawoNnh7NRDh0tRrNncdwz_Ta25tbQfwtlYoM,1298
@@ -584,9 +584,9 @@ opentrons/util/linal.py,sha256=IlKAP9HkNBBgULeSf4YVwSKHdx9jnCjSr7nvDvlRALg,5753
584
584
  opentrons/util/logging_config.py,sha256=7et4YYuQdWdq_e50U-8vFS_QyNBRgdnqPGAQJm8qrIo,9954
585
585
  opentrons/util/logging_queue_handler.py,sha256=ZsSJwy-oV8DXwpYiZisQ1PbYwmK2cOslD46AcyJ1E4I,2484
586
586
  opentrons/util/performance_helpers.py,sha256=ew7H8XD20iS6-2TJAzbQeyzStZkkE6PzHt_Adx3wbZQ,5172
587
- opentrons-8.5.0a2.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
588
- opentrons-8.5.0a2.dist-info/METADATA,sha256=buRElpa7yDSgfDR1HmOjuKsSAYlgCuRqKTrMU-2SxmM,5084
589
- opentrons-8.5.0a2.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
590
- opentrons-8.5.0a2.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
591
- opentrons-8.5.0a2.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
592
- opentrons-8.5.0a2.dist-info/RECORD,,
587
+ opentrons-8.5.0a3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
588
+ opentrons-8.5.0a3.dist-info/METADATA,sha256=564kF6_n5GeA8OUrmfrjUu-xwLR1uYXrJxdQkFfHN8E,5084
589
+ opentrons-8.5.0a3.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
590
+ opentrons-8.5.0a3.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
591
+ opentrons-8.5.0a3.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
592
+ opentrons-8.5.0a3.dist-info/RECORD,,