File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
element_array_ephys/readers Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 4
4
import re
5
5
6
6
import numpy as np
7
- import pyopenephys
7
+ import packaging
8
8
9
- logger = logging .getLogger (__name__ )
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
+ )
10
14
15
+ try :
16
+ import pyopenephys
17
+ except ImportError :
18
+ raise ImportError (pyopenephys_warning )
19
+
20
+ logger = logging .getLogger ("datajoint" )
21
+
22
+ if packaging .version .parse (pyopenephys .__version__ ) < packaging .version .parse ("1.1.6" ):
23
+ logger .warning (pyopenephys_warning )
11
24
12
25
"""
13
26
The Open Ephys Record Node saves Neuropixels data in binary format according to the following the directory structure:
Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ datajoint>=0.13
2
2
element-interface >= 0.4.0
3
3
openpyxl
4
4
plotly
5
- pyopenephys @ git+https://github.com/datajoint-company/pyopenephys.git
6
5
seaborn
You can’t perform that action at this time.
0 commit comments