np-services 0.1.45__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: np-services
3
- Version: 0.1.45
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.45"
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.45',
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![Services](./services.drawio.svg)',
30
30
  'author': 'bjhardcastle',
@@ -125,8 +125,6 @@ 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
@@ -147,8 +145,8 @@ def is_disk_space_ok() -> bool:
147
145
  for data_root in get_data_roots():
148
146
  try:
149
147
  free = utils.free_gb(data_root)
150
- except FileNotFoundError as exc:
151
- exc = exc
148
+ except FileNotFoundError as e:
149
+ exc = e
152
150
  logger.exception(f"{__name} data path not accessible: {data_root}")
153
151
  else:
154
152
  logger.info(
File without changes