Skip to content

Commit 16415f4

Browse files
committed
Improve utilities - copy array annotations when creating epoch from event
1 parent 8375fcf commit 16415f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

neo/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def add_epoch(
421421
ep = neo.Epoch(times=times, durations=durations, **kwargs)
422422

423423
ep.annotate(**event1.annotations)
424+
ep.array_annotate(**event1.array_annotations)
424425

425426
if attach_result:
426427
segment.epochs.append(ep)

0 commit comments

Comments
 (0)