Skip to content

Commit 3e11d1c

Browse files
committed
Remove create channel map step from NwbRecording
1 parent 8c6fc32 commit 3e11d1c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/open_ephys/analysis/formats/NwbRecording.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def __init__(self, nwb, dataset):
7171
1 / nwb["acquisition"][dataset]["timestamps"].attrs["interval"], 1
7272
)
7373
self.metadata["num_channels"] = nwb["acquisition"][dataset]["data"].shape[1]
74-
self.metadata["channel_map"] = self.create_channel_map(info)
7574
self.metadata["bit_volts"] = list(
7675
nwb["acquisition"][dataset]["channel_conversion"][()] * 1e6
7776
)
@@ -255,8 +254,6 @@ def detect_recordings(directory, mmap_timestamps=True):
255254

256255
recordings = []
257256

258-
found_recording = False
259-
260257
nwb_files = glob.glob(os.path.join(directory, "experiment*.nwb"))
261258
nwb_files.sort()
262259

0 commit comments

Comments
 (0)