Skip to content

Commit adffe34

Browse files
author
Thinh Nguyen
committed
bugfix, timedelta as seconds
1 parent c213325 commit adffe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element_array_ephys/readers/openephys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def load_probe_data(self):
9595

9696
probe.recording_info['recording_count'] += 1
9797
probe.recording_info['recording_datetimes'].append(
98-
rec.datetime + datetime.timedelta(float(rec.start_time)))
98+
rec.datetime + datetime.timedelta(seconds=float(rec.start_time)))
9999
probe.recording_info['recording_durations'].append(
100100
float(rec.duration))
101101
probe.recording_info['recording_files'].append(

0 commit comments

Comments
 (0)