np-services 0.1.44__tar.gz → 0.1.46__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.
- {np_services-0.1.44 → np_services-0.1.46}/PKG-INFO +1 -1
- {np_services-0.1.44 → np_services-0.1.46}/pyproject.toml +1 -1
- {np_services-0.1.44 → np_services-0.1.46}/setup.py +1 -1
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/open_ephys.py +4 -4
- {np_services-0.1.44 → np_services-0.1.46}/README.md +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/__init__.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/mvr.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/protocols.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/proxies.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/sync.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/utils.py +0 -0
- {np_services-0.1.44 → np_services-0.1.46}/src/np_services/zro.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: np-services
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.46
|
|
4
4
|
Summary: Tools for interfacing with devices and services used in Mindscope Neuropixels experiments at the Allen Institute.
|
|
5
5
|
Author: bjhardcastle
|
|
6
6
|
Author-email: ben.hardcastle@alleninstitute.org
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "np-services"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.46"
|
|
4
4
|
description = "Tools for interfacing with devices and services used in Mindscope Neuropixels experiments at the Allen Institute."
|
|
5
5
|
authors = ["bjhardcastle <ben.hardcastle@alleninstitute.org>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -24,7 +24,7 @@ install_requires = \
|
|
|
24
24
|
|
|
25
25
|
setup_kwargs = {
|
|
26
26
|
'name': 'np-services',
|
|
27
|
-
'version': '0.1.
|
|
27
|
+
'version': '0.1.46',
|
|
28
28
|
'description': 'Tools for interfacing with devices and services used in Mindscope Neuropixels experiments at the Allen Institute.',
|
|
29
29
|
'long_description': '# service usage\n',
|
|
30
30
|
'author': 'bjhardcastle',
|
|
@@ -125,12 +125,11 @@ def is_connected() -> bool:
|
|
|
125
125
|
|
|
126
126
|
def initialize() -> None:
|
|
127
127
|
logger.info("OpenEphys | Initializing")
|
|
128
|
-
launch()
|
|
129
|
-
|
|
130
128
|
global data_files
|
|
131
129
|
data_files = []
|
|
132
130
|
global initialized
|
|
133
131
|
initialized = time.time()
|
|
132
|
+
global folder
|
|
134
133
|
set_folder(folder)
|
|
135
134
|
|
|
136
135
|
|
|
@@ -146,8 +145,8 @@ def is_disk_space_ok() -> bool:
|
|
|
146
145
|
for data_root in get_data_roots():
|
|
147
146
|
try:
|
|
148
147
|
free = utils.free_gb(data_root)
|
|
149
|
-
except FileNotFoundError as
|
|
150
|
-
exc =
|
|
148
|
+
except FileNotFoundError as e:
|
|
149
|
+
exc = e
|
|
151
150
|
logger.exception(f"{__name} data path not accessible: {data_root}")
|
|
152
151
|
else:
|
|
153
152
|
logger.info(
|
|
@@ -272,6 +271,7 @@ def unlock_previous_recording():
|
|
|
272
271
|
time.sleep(0.5)
|
|
273
272
|
stop()
|
|
274
273
|
time.sleep(0.5)
|
|
274
|
+
global folder
|
|
275
275
|
set_folder(folder)
|
|
276
276
|
|
|
277
277
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|