Skip to content

Commit f07bd44

Browse files
committed
New pyopenephys version
1 parent 905588f commit f07bd44

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

element_array_ephys/readers/openephys.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,10 @@
44
import re
55

66
import numpy as np
7-
from packaging.version import parse as version_parser
8-
9-
pyopenephys_warning = (
10-
"It is recommended that you use DataJoint's fork of pyopenephys.\n"
11-
+ "Please install with the following command:\n"
12-
+ "pip install git+https://github.com/datajoint-company/pyopenephys.git"
13-
)
14-
15-
try:
16-
import pyopenephys
17-
except ImportError:
18-
raise ImportError(pyopenephys_warning)
7+
import pyopenephys
198

209
logger = logging.getLogger("datajoint")
2110

22-
if version_parser(pyopenephys.__version__) < version_parser("1.1.6"):
23-
logger.warning(pyopenephys_warning)
24-
2511
"""
2612
The Open Ephys Record Node saves Neuropixels data in binary format according to the following the directory structure:
2713
(https://open-ephys.github.io/gui-docs/User-Manual/Recording-data/Binary-format.html)

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ datajoint>=0.13
22
element-interface>=0.4.0
33
openpyxl
44
plotly
5+
pyopenephys>=1.1.6
56
seaborn

0 commit comments

Comments
 (0)