zaber-motion 7.8.2__py3-none-win32.whl → 7.8.3__py3-none-win32.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.
@@ -13,7 +13,7 @@ class CanSetStateDeviceResponse:
13
13
  An object containing any setup issues that will prevent setting a state to a given device.
14
14
  """
15
15
 
16
- axis_errors: List[CanSetStateAxisResponse]
16
+ axis_responses: List[CanSetStateAxisResponse]
17
17
  """
18
18
  A list of axis responses, potentially with messages for errors
19
19
  which would block setting the state of the device's axes.
@@ -28,7 +28,7 @@ class CanSetStateDeviceResponse:
28
28
  def zero_values() -> 'CanSetStateDeviceResponse':
29
29
  return CanSetStateDeviceResponse(
30
30
  error=None,
31
- axis_errors=[],
31
+ axis_responses=[],
32
32
  )
33
33
 
34
34
  @staticmethod
@@ -45,14 +45,14 @@ class CanSetStateDeviceResponse:
45
45
  def to_dict(self) -> Dict[str, Any]:
46
46
  return {
47
47
  'error': str(self.error) if self.error is not None else None,
48
- 'axisErrors': [item.to_dict() for item in self.axis_errors] if self.axis_errors is not None else [],
48
+ 'axisResponses': [item.to_dict() for item in self.axis_responses] if self.axis_responses is not None else [],
49
49
  }
50
50
 
51
51
  @staticmethod
52
52
  def from_dict(data: Dict[str, Any]) -> 'CanSetStateDeviceResponse':
53
53
  return CanSetStateDeviceResponse(
54
54
  error=data.get('error'), # type: ignore
55
- axis_errors=[CanSetStateAxisResponse.from_dict(item) for item in data.get('axisErrors')], # type: ignore
55
+ axis_responses=[CanSetStateAxisResponse.from_dict(item) for item in data.get('axisResponses')], # type: ignore
56
56
  )
57
57
 
58
58
  def validate(self) -> None:
@@ -61,15 +61,15 @@ class CanSetStateDeviceResponse:
61
61
  if not isinstance(self.error, str):
62
62
  raise ValueError(f'Property "Error" of "CanSetStateDeviceResponse" is not a string.')
63
63
 
64
- if self.axis_errors is not None:
65
- if not isinstance(self.axis_errors, Iterable):
66
- raise ValueError('Property "AxisErrors" of "CanSetStateDeviceResponse" is not iterable.')
64
+ if self.axis_responses is not None:
65
+ if not isinstance(self.axis_responses, Iterable):
66
+ raise ValueError('Property "AxisResponses" of "CanSetStateDeviceResponse" is not iterable.')
67
67
 
68
- for i, axis_errors_item in enumerate(self.axis_errors):
69
- if axis_errors_item is None:
70
- raise ValueError(f'Item {i} in property "AxisErrors" of "CanSetStateDeviceResponse" is None.')
68
+ for i, axis_responses_item in enumerate(self.axis_responses):
69
+ if axis_responses_item is None:
70
+ raise ValueError(f'Item {i} in property "AxisResponses" of "CanSetStateDeviceResponse" is None.')
71
71
 
72
- if not isinstance(axis_errors_item, CanSetStateAxisResponse):
73
- raise ValueError(f'Item {i} in property "AxisErrors" of "CanSetStateDeviceResponse" is not an instance of "CanSetStateAxisResponse".')
72
+ if not isinstance(axis_responses_item, CanSetStateAxisResponse):
73
+ raise ValueError(f'Item {i} in property "AxisResponses" of "CanSetStateDeviceResponse" is not an instance of "CanSetStateAxisResponse".')
74
74
 
75
- axis_errors_item.validate()
75
+ axis_responses_item.validate()
zaber_motion/library.py CHANGED
@@ -154,7 +154,7 @@ class Library:
154
154
  """
155
155
  request = dto.CheckVersionRequest(
156
156
  host="py",
157
- version="7.8.2",
157
+ version="7.8.3",
158
158
  )
159
159
  call_sync("library/check_version", request)
160
160
 
@@ -198,7 +198,7 @@ class WdiAutofocusProvider:
198
198
  Generic write operation.
199
199
 
200
200
  Args:
201
- register_id: Register address to read from.
201
+ register_id: Register address to write to.
202
202
  size: Data size to write. Valid values are (0,1,2,4). Determines the data type (Nil, Byte, Word, DWord).
203
203
  data: Array of values to write to the register. Empty array is allowed.
204
204
  offset: Offset within the register (defaults to 0).
@@ -226,7 +226,7 @@ class WdiAutofocusProvider:
226
226
  Generic write operation.
227
227
 
228
228
  Args:
229
- register_id: Register address to read from.
229
+ register_id: Register address to write to.
230
230
  size: Data size to write. Valid values are (0,1,2,4). Determines the data type (Nil, Byte, Word, DWord).
231
231
  data: Array of values to write to the register. Empty array is allowed.
232
232
  offset: Offset within the register (defaults to 0).
zaber_motion/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "7.8.2"
1
+ __version__ = "7.8.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zaber_motion
3
- Version: 7.8.2
3
+ Version: 7.8.3
4
4
  Summary: An official library for communicating with Zaber devices.
5
5
  Author-email: "Zaber Technologies Inc." <contact@zaber.com>
6
6
  License: The MIT License (MIT)
@@ -9,13 +9,13 @@ zaber_motion/call.py,sha256=lH72duqcNvzh3Mae5JYZ5kIsyMRftSxSCgmWk9TjYik,5206
9
9
  zaber_motion/convert_exception.py,sha256=TZrdGkmaTR7QOAwoxIQ9sOkHtuVg1bVs-sxbEDn22V8,8487
10
10
  zaber_motion/dto_object.py,sha256=3gJU6AQCjiZcx2o7p2C9VTqw9apOM0i21ssmAM-VmEY,359
11
11
  zaber_motion/events.py,sha256=3Ebp8zEjlRSjKG-b3WVrncZ6juHlKJTNeL-oeYIGpuk,3398
12
- zaber_motion/library.py,sha256=LIQq1gOH7GMZN1zxLBOVejsXCA_0_txwIOS-AF22ABw,4934
12
+ zaber_motion/library.py,sha256=5F3AgE6pTKwfyB2cUfDJgTbZv2f2mj_wB4Gh2fVtk74,4934
13
13
  zaber_motion/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  zaber_motion/serialization.py,sha256=Fm53Bd_oAZ7yaTjtBss23Dps3ynWv8wUJT5JVQyqKVs,987
15
15
  zaber_motion/tools.py,sha256=O9IGJNGaaG7Sz2jGkexdJfgyJ5L4vsLXJKFUhZlKlCI,2213
16
16
  zaber_motion/unit_table.py,sha256=FV-6VegAm499BJBJ4tdXgkP2Hl2h-fIlLJWkMrHlPAM,2497
17
17
  zaber_motion/units.py,sha256=RCkeTZwhZFJg2hffBJFweAhDHLHZOkLUPel0e1Wzi3g,10853
18
- zaber_motion/version.py,sha256=DxbY8UMHOng6X6K6UyV-hkZ83QqxR_IgyuG_I9szoLA,22
18
+ zaber_motion/version.py,sha256=JIiqKVlC37vx2_EuUX8eP9h5GTBlrpFCV2Ic9kex9YA,22
19
19
  zaber_motion/ascii/__init__.py,sha256=hB91yrB-iTGuk270V97TQK09fMiMUwL3FEIKhLqMJfc,4848
20
20
  zaber_motion/ascii/all_axes.py,sha256=ob_LjrgU9jNCW3t9k0U7QSa-92ap9HspmHCsv7dkzgI,10783
21
21
  zaber_motion/ascii/axis.py,sha256=Ks5MGJRUeKIwyUZOQ-13-fWpjt3ZJu9oyoGNT2yEJSg,57618
@@ -62,7 +62,7 @@ zaber_motion/dto/ascii/alert_event.py,sha256=ov3oTWjcru4UoYvPSiXuJaCvrOvS31DHSK9
62
62
  zaber_motion/dto/ascii/axis_identity.py,sha256=EZ-E8XCvfDRfcq8s27nHGSQHHvaxEMsL0rk46Mrt7pk,4268
63
63
  zaber_motion/dto/ascii/axis_type.py,sha256=bMG3ienP4BKf-b3hhZW2f_kYAyRP2_lYVbZdstqmUwA,237
64
64
  zaber_motion/dto/ascii/can_set_state_axis_response.py,sha256=-6zTOvCDXDYmeAlmZ4CCc5nfKGimtHWcb3AjSuQFhyc,2506
65
- zaber_motion/dto/ascii/can_set_state_device_response.py,sha256=ll-5a3u9yHJzgsOW6ZPFu_pHgbXyRhGIi1Q4TCbp6po,3091
65
+ zaber_motion/dto/ascii/can_set_state_device_response.py,sha256=aDHSsDN6jNBhFCVCM2j3eX5UfK2fPAZ3Bxm_GkKG0XM,3142
66
66
  zaber_motion/dto/ascii/conversion_factor.py,sha256=V_gP9RZI-wKurPUPLiSB-L_Zeb4gwZk7-aciqZMWjWY,2656
67
67
  zaber_motion/dto/ascii/device_identity.py,sha256=kyirom_PHXdYuvxMz_1N7sdmKaobYjClq9ivN8uTcnE,4717
68
68
  zaber_motion/dto/ascii/device_io_info.py,sha256=mLMlmUzjyb9BgzXeRs3zrhJbcxgS9g9i97_z6Pwq9z8,4337
@@ -476,13 +476,13 @@ zaber_motion/microscopy/illuminator.py,sha256=778WTQ1HfZG2MiLVug8tv1ZipJBInlNl-L
476
476
  zaber_motion/microscopy/illuminator_channel.py,sha256=146pzU8Xz3Kj0_KIG5BjLQVNPPO3keALgu6KJYFGFMI,20451
477
477
  zaber_motion/microscopy/microscope.py,sha256=cza7f0hqs5maNOyEIzNrtQ0iRt572TR-rjbmgVEAgTU,8602
478
478
  zaber_motion/microscopy/objective_changer.py,sha256=rTI7-bytHqcbc0iLmY6Eytv4EXr_Jgk78dj-Y8tj_yw,13543
479
- zaber_motion/microscopy/wdi_autofocus_provider.py,sha256=nQG0UdtEnUWa91YDi9OLnEyYEGECYaGpOg5eUmqGmPE,11492
479
+ zaber_motion/microscopy/wdi_autofocus_provider.py,sha256=V-cDWA9SJXQ1WRNCMT78VoMwbhd-5d948VeofKmZSlM,11490
480
480
  zaber_motion/product/__init__.py,sha256=lno0C-gLBsHNPGnjp6bbXHX0cEk27cA8uFjq5vzmE9Q,531
481
481
  zaber_motion/product/process.py,sha256=42wF55BvUcUY36_6HvpdWLC0b2ap6suoCItpR88pp14,27458
482
482
  zaber_motion/product/process_controller.py,sha256=a5BM42BP82gcHtub98SkUsxsRoKByNbYmaBXzRYT1ao,4185
483
- zaber_motion_bindings/zaber-motion-core-windows-386.dll,sha256=lx2ip7GO_jkEcKZpqlVE6wfZQaLFuA_GKrfkRAFOAsE,14407680
484
- zaber_motion-7.8.2.dist-info/LICENSE.txt,sha256=xNj9QcKqsI3WK5EBPeYbQAiDcnVe4xmIpCy65NYNVhA,109244
485
- zaber_motion-7.8.2.dist-info/METADATA,sha256=fOBFv6MpwDEFGBdnncJZAm7-OP395NNdfuH9QlbpDYU,129815
486
- zaber_motion-7.8.2.dist-info/WHEEL,sha256=IvMpNSrdjsF1-j47TwHzkg3me4kdrqF21OaDAsKYs1k,93
487
- zaber_motion-7.8.2.dist-info/top_level.txt,sha256=ypgkPvPad6Oge50CT6unnvxCEliKUB6olL6CUUER1SA,51
488
- zaber_motion-7.8.2.dist-info/RECORD,,
483
+ zaber_motion_bindings/zaber-motion-core-windows-386.dll,sha256=WaHi7BsFYN4r_V7oNAUmwtXZgXrI8G-1d-D9ndY31eg,14408192
484
+ zaber_motion-7.8.3.dist-info/LICENSE.txt,sha256=xNj9QcKqsI3WK5EBPeYbQAiDcnVe4xmIpCy65NYNVhA,109244
485
+ zaber_motion-7.8.3.dist-info/METADATA,sha256=_6PCpD5kkzxXwfmgGLas1jXr0Gzmh9LzptCzvXEBOFw,129815
486
+ zaber_motion-7.8.3.dist-info/WHEEL,sha256=IvMpNSrdjsF1-j47TwHzkg3me4kdrqF21OaDAsKYs1k,93
487
+ zaber_motion-7.8.3.dist-info/top_level.txt,sha256=ypgkPvPad6Oge50CT6unnvxCEliKUB6olL6CUUER1SA,51
488
+ zaber_motion-7.8.3.dist-info/RECORD,,