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.
- {ephys_link-2.2.1 → ephys_link-2.2.2}/PKG-INFO +2 -2
- {ephys_link-2.2.1 → ephys_link-2.2.2}/pyproject.toml +1 -1
- ephys_link-2.2.2/src/ephys_link/__about__.py +1 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/mpm_binding.py +2 -1
- ephys_link-2.2.1/src/ephys_link/__about__.py +0 -1
- {ephys_link-2.2.1 → ephys_link-2.2.2}/.gitignore +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/LICENSE +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/README.md +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/ephys_link.spec +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/mkdocs.yml +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/gen_ref_pages.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/jackhammer.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/logger_test.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/move_tester.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/scripts/server_tester.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/__main__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/platform_handler.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/back_end/server.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/fake_binding.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/parallax_binding.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/bindings/ump_binding.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/cli.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/console.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/front_end/gui.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/base_binding.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/constants.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/converters.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/src/ephys_link/utils/startup.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/test_platform_handler.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/back_end/test_server.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/conftest.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/utils/__init__.py +0 -0
- {ephys_link-2.2.1 → ephys_link-2.2.2}/tests/utils/test_converters.py +0 -0
- {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.
|
|
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.
|
|
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
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|