Skip to content

Commit

Permalink
Add note about writing table with custom col and no rows (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jul 25, 2024
1 parent d453804 commit 3792136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/gallery/general/plot_timeintervals.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
# Additional columns can be added using :py:meth:`~pynwb.file.NWBFile.add_trial_column`. This method takes a name
# for the column and a description of what the column stores. You do not need to supply data
# type, as this will inferred. Once all columns have been added, trial data can be populated using
# :py:meth:`~pynwb.file.NWBFile.add_trial`.
# :py:meth:`~pynwb.file.NWBFile.add_trial`. Note that if you add a custom column, you must
# add at least one row to write the table to a file.
#
# Lets add an additional column and some trial data with tags and timeseries references.

Expand Down

0 comments on commit 3792136

Please sign in to comment.