We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab426c1 commit 49c554bCopy full SHA for 49c554b
element_array_ephys/readers/openephys.py
@@ -32,7 +32,7 @@ class OpenEphys:
32
33
def __init__(self, experiment_dir):
34
self.session_dir = pathlib.Path(experiment_dir)
35
- openephys_file = pyopenephys.File(self.session_dir) # this is on the Record Node level
+ openephys_file = pyopenephys.File(self.session_dir.parent) # this is on the Record Node level
36
37
# extract the "recordings" for this session
38
self.experiment = next(experiment for experiment in openephys_file.experiments
0 commit comments