Skip to content

Commit 59028cb

Browse files
bendichterkabilar
andauthored
Update element_array_ephys/export/nwb/nwb.py
Co-authored-by: Kabilar Gunalan <kabilar@datajoint.com>
1 parent 068ea3d commit 59028cb

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
@@ -51,7 +51,7 @@ def __init__(self, lfp_electrodes_query, chunk_length: int = 10000):
5151

5252
first_record = (
5353
self.lfp_electrodes_query & dict(electrode=self.electrodes[0])
54-
).fetch(as_dict=True)[0]
54+
).fetch1(as_dict=True)
5555

5656
self.n_channels = len(lfp_electrodes_query)
5757
self.n_tt = len(first_record["lfp"])

0 commit comments

Comments
 (0)