ephys-link 2.2.1__tar.gz → 2.2.2__tar.gz

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.
Files changed (42) hide show
  1. {ephys_link-2.2.1 → ephys_link-2.2.2}/PKG-INFO +2 -2
  2. {ephys_link-2.2.1 → ephys_link-2.2.2}/pyproject.toml +1 -1
  3. ephys_link-2.2.2/src/ephys_link/__about__.py +1 -0
  4. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/mpm_binding.py +2 -1
  5. ephys_link-2.2.1/src/ephys_link/__about__.py +0 -1
  6. {ephys_link-2.2.1 → ephys_link-2.2.2}/.gitignore +0 -0
  7. {ephys_link-2.2.1 → ephys_link-2.2.2}/LICENSE +0 -0
  8. {ephys_link-2.2.1 → ephys_link-2.2.2}/README.md +0 -0
  9. {ephys_link-2.2.1 → ephys_link-2.2.2}/ephys_link.spec +0 -0
  10. {ephys_link-2.2.1 → ephys_link-2.2.2}/mkdocs.yml +0 -0
  11. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/__init__.py +0 -0
  12. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/gen_ref_pages.py +0 -0
  13. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/jackhammer.py +0 -0
  14. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/logger_test.py +0 -0
  15. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/move_tester.py +0 -0
  16. {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/server_tester.py +0 -0
  17. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/__init__.py +0 -0
  18. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/__main__.py +0 -0
  19. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/__init__.py +0 -0
  20. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/platform_handler.py +0 -0
  21. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/server.py +0 -0
  22. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/__init__.py +0 -0
  23. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/fake_binding.py +0 -0
  24. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/parallax_binding.py +0 -0
  25. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/ump_binding.py +0 -0
  26. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/__init__.py +0 -0
  27. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/cli.py +0 -0
  28. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/console.py +0 -0
  29. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/gui.py +0 -0
  30. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/__init__.py +0 -0
  31. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/base_binding.py +0 -0
  32. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/constants.py +0 -0
  33. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/converters.py +0 -0
  34. {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/startup.py +0 -0
  35. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/__init__.py +0 -0
  36. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/__init__.py +0 -0
  37. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/test_platform_handler.py +0 -0
  38. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/test_server.py +0 -0
  39. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/conftest.py +0 -0
  40. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/utils/__init__.py +0 -0
  41. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/utils/test_converters.py +0 -0
  42. {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/utils/test_startup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ephys-link
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: A Python Socket.IO server that allows any Socket.IO-compliant application to communicate with manipulators used in electrophysiology experiments.
5
5
  Project-URL: Documentation, https://virtualbrainlab.org/ephys_link/installation_and_use.html
6
6
  Project-URL: Issues, https://github.com/VirtualBrainLab/ephys-link/issues
@@ -27,7 +27,7 @@ Requires-Dist: keyboard==0.13.5
27
27
  Requires-Dist: packaging==25.0
28
28
  Requires-Dist: platformdirs==4.5.1
29
29
  Requires-Dist: pyserial==3.5
30
- Requires-Dist: python-socketio==5.15.1
30
+ Requires-Dist: python-socketio==5.16.0
31
31
  Requires-Dist: requests==2.32.5
32
32
  Requires-Dist: rich==14.2.0
33
33
  Requires-Dist: sensapex==1.504.1
@@ -31,7 +31,7 @@ dependencies = [
31
31
  "packaging==25.0",
32
32
  "platformdirs==4.5.1",
33
33
  "pyserial==3.5",
34
- "python-socketio==5.15.1",
34
+ "python-socketio==5.16.0",
35
35
  "requests==2.32.5",
36
36
  "sensapex==1.504.1",
37
37
  "rich==14.2.0",
@@ -0,0 +1 @@
1
+ __version__ = "2.2.2"
@@ -206,6 +206,7 @@ class MPMBinding(BaseBinding):
206
206
  # Keep track of the previous depth to check if the manipulator stopped advancing unexpectedly.
207
207
  current_depth = (await self.get_position(manipulator_id)).w
208
208
  previous_depth = current_depth
209
+ depth = self.get_dimensions().w - depth
209
210
  unchanged_counter = 0
210
211
 
211
212
  # Send move request.
@@ -244,7 +245,7 @@ class MPMBinding(BaseBinding):
244
245
  self._movement_stopped = False
245
246
 
246
247
  # Return the final depth.
247
- return float((await self.get_position(manipulator_id)).w)
248
+ return float(self.get_dimensions().w - (await self.get_position(manipulator_id)).w)
248
249
 
249
250
  @override
250
251
  async def stop(self, manipulator_id: str) -> None:
@@ -1 +0,0 @@
1
- __version__ = "2.2.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes