Skip to content

Commit 2874db8

Browse files
zm711alejoe91
andauthored
revert since cli has been updated
Co-authored-by: Alessio Buccino <[email protected]>
1 parent 955db76 commit 2874db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MEArec/generators/recordinggenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ def generate_recordings(
14101410

14111411
# compute pad samples as 3 times the low-cutoff period
14121412
if cutoff.size == 1:
1413-
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
1413+
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude)
14141414
elif cutoff.size == 2:
14151415
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)
14161416

0 commit comments

Comments
 (0)