Skip to content

Commit 9ee6088

Browse files
Update element_array_ephys/export/nwb/nwb.py
Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
1 parent 441cfe2 commit 9ee6088

File tree

1 file changed

+1
-1
lines changed
  • element_array_ephys/export/nwb

1 file changed

+1
-1
lines changed

element_array_ephys/export/nwb/nwb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, lfp_electrodes_query, chunk_length: int = 10000):
5050
self.lfp_electrodes_query & dict(electrode=self.electrodes[0])
5151
).fetch1(as_dict=True)
5252

53-
self.n_channels = len(lfp_electrodes_query)
53+
self.n_channels = len(self.electrodes)
5454
self.n_tt = len(first_record["lfp"])
5555
self._dtype = first_record["lfp"].dtype
5656

0 commit comments

Comments
 (0)