Skip to content

Commit 7e2365c

Browse files
authored
update start_time and stop_time (#730)
* update start_time and stop_time
1 parent 13d04c2 commit 7e2365c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/pynwb/file.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def add_trial(self, **kwargs):
507507
Add a trial to the trial table.
508508
See :py:meth:`~pynwb.core.DynamicTable.add_row` for more details.
509509
510-
Required fields are *start*, *end*, and any columns that have
510+
Required fields are *start_time*, *stop_time*, and any columns that have
511511
been added (through calls to `add_trial_columns`).
512512
"""
513513
self.__check_trials()
@@ -619,9 +619,8 @@ def ElectrodeTable(name='electrodes',
619619
)
620620

621621

622-
def TrialTable(name='trials',
623-
description='metadata about experimental trials'):
624-
return _tablefunc(name, description, ['start', 'end'])
622+
def TrialTable(name='trials', description='metadata about experimental trials'):
623+
return _tablefunc(name, description, ['start_time', 'stop_time'])
625624

626625

627626
def InvalidTimesTable(name='invalid_times', description='time intervals to be removed from analysis'):

0 commit comments

Comments
 (0)