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

@@ -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:
@@ -177,7 +177,7 @@ class ModuleContext(CommandPublisher):
177
177
 
178
178
  labware_core = self._protocol_core.load_labware(
179
179
  load_name=name,
180
- label=label,
180
+ label=label if label is None else str(label),
181
181
  namespace=namespace,
182
182
  version=version,
183
183
  location=load_location,
@@ -246,7 +246,10 @@ class ModuleContext(CommandPublisher):
246
246
  """
247
247
  _log.warning("load_labware_by_name is deprecated. Use load_labware instead.")
248
248
  return self.load_labware(
249
- name=name, label=label, namespace=namespace, version=version
249
+ name=name,
250
+ label=label,
251
+ namespace=namespace,
252
+ version=version,
250
253
  )
251
254
 
252
255
  @requires_version(2, 15)
@@ -499,7 +499,7 @@ class ProtocolContext(CommandPublisher):
499
499
  labware_core = self._core.load_labware(
500
500
  load_name=load_name,
501
501
  location=load_location,
502
- label=label,
502
+ label=label if label is None else str(label),
503
503
  namespace=namespace,
504
504
  version=version,
505
505
  )
@@ -651,8 +651,7 @@ class LegacyCommandMapper:
651
651
  )
652
652
  command_id = f"commands.LOAD_LABWARE-{count}"
653
653
  labware_id = f"labware-{count}"
654
-
655
- succeeded_command = pe_commands.LoadLabware.model_construct(
654
+ succeeded_command = pe_commands.LoadLabware(
656
655
  id=command_id,
657
656
  key=command_id,
658
657
  status=pe_commands.CommandStatus.SUCCEEDED,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentrons
3
- Version: 8.5.0a2
3
+ Version: 8.5.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.5.0a2)
24
+ Requires-Dist: opentrons-shared-data (==8.5.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)
@@ -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.0a4) ; 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.0a4) ; 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
@@ -231,9 +231,9 @@ opentrons/protocol_api/deck.py,sha256=94vFceg1SC1bAGd7TvC1ZpYwnJR-VlzurEZ6jkacYe
231
231
  opentrons/protocol_api/disposal_locations.py,sha256=NRiSGmDR0LnbyEkWSOM-o64uR2fUoB1NWJG7Y7SsJSs,7920
232
232
  opentrons/protocol_api/instrument_context.py,sha256=QXI4yFexLB-vRcsSi1XvfA97VwqZUbo284N8AhyfHUo,135290
233
233
  opentrons/protocol_api/labware.py,sha256=AhL1JX10Xt-mpB85CAnEOBvz9r5v3xncJuLMkiY1FPM,60934
234
- opentrons/protocol_api/module_contexts.py,sha256=3tVXj6Q7n-WuTJPU_dvIQLzzGv1P-jsMuDtMVpuhAf8,48291
234
+ opentrons/protocol_api/module_contexts.py,sha256=Mzut2a92Gcv23wFPdNVU9fj2P--7WDqBx27xAJ7z8eo,48361
235
235
  opentrons/protocol_api/module_validation_and_errors.py,sha256=XL_m72P8rcvGO2fynY7UzXLcpGuI6X4s0V6Xf735Iyc,1464
236
- opentrons/protocol_api/protocol_context.py,sha256=bADA5aoq-WooGMCIALOM89bhuN1fkDDgrWTbTdvNJ2s,69639
236
+ opentrons/protocol_api/protocol_context.py,sha256=9vIQmpCBJcfFH4TgAGzxMwqhw09JrN9nA0yZ1b90H8w,69672
237
237
  opentrons/protocol_api/robot_context.py,sha256=D6ZdpFX30VTtVUDHitsVjabJQXD5TxOV9_Z6sik1LvE,11891
238
238
  opentrons/protocol_api/validation.py,sha256=73QwpdK5337yu9g8jvpHHizOD0Mf3m6Wr9S8eikrHIc,28993
239
239
  opentrons/protocol_api/core/__init__.py,sha256=-g74o8OtBB0LmmOvwkRvPgrHt7fF7T8FRHDj-x_-Onk,736
@@ -509,7 +509,7 @@ opentrons/protocol_runner/__init__.py,sha256=Sr0gBDzNv3nuHPapeNy_IWadhohtwmlhfnB
509
509
  opentrons/protocol_runner/create_simulating_orchestrator.py,sha256=S1Fu9TMa3NrujcPYTfULHpfqLTkrZPYz7CbcXtcDes0,4249
510
510
  opentrons/protocol_runner/json_file_reader.py,sha256=dE9ujq3sWyKF1yFg0AN8h-roGVfvqf1tEcIq5wxHbxE,2341
511
511
  opentrons/protocol_runner/json_translator.py,sha256=lrDzHOOkQ19ac4KEdUbfEOnfx-F_QCO-6oGqQZegy4g,12134
512
- opentrons/protocol_runner/legacy_command_mapper.py,sha256=JoYB6X2o00CNx7rdzpJeJyLAVSCL5h7_N7ecKVQkiag,36953
512
+ opentrons/protocol_runner/legacy_command_mapper.py,sha256=t_TTa5_68qNvnFR1zt5RNyCqWnCK1HboUNSXagemTPg,36936
513
513
  opentrons/protocol_runner/legacy_context_plugin.py,sha256=G_qpeyaLvsCjb72_n96Luy8CPSfgPZpt0QKVzKc6LKY,4730
514
514
  opentrons/protocol_runner/protocol_runner.py,sha256=YUHZvttojkYghq82IWYWvTfN2kUZ1oZdm8Fm4K-zftI,21658
515
515
  opentrons/protocol_runner/python_protocol_wrappers.py,sha256=KEuM4M7rYD4zLjTqK89T47CiBIZJ42kG0JXWarLUq4E,6511
@@ -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.0a4.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
588
+ opentrons-8.5.0a4.dist-info/METADATA,sha256=xfchG876KgF4yfn94oXP9RvTHmLRtEgY1JlFgethD0A,5084
589
+ opentrons-8.5.0a4.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
590
+ opentrons-8.5.0a4.dist-info/entry_points.txt,sha256=fTa6eGCYkvOtv0ov-KVE8LLGetgb35LQLF9x85OWPVw,106
591
+ opentrons-8.5.0a4.dist-info/top_level.txt,sha256=wk6whpbMZdBQpcK0Fg0YVfUGrAgVOFON7oQAhOMGMW8,10
592
+ opentrons-8.5.0a4.dist-info/RECORD,,