Skip to content

Commit

Permalink
Fix typo in extensions doc (#159)
Browse files Browse the repository at this point in the history
Co-authored-by: Steph Prince <[email protected]>
  • Loading branch information
rly and stephprince authored Jul 23, 2024
1 parent beea767 commit fffadbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/source/extensions_tutorial/3_spec_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ list of :py:class:`~pynwb.spec.NWBDtypeSpec` objects to the ``dtype`` argument.
spec = NWBDatasetSpec(
doc='A custom NWB type',
name='qux',
attribute=[
attributes=[
NWBAttributeSpec('baz', 'a value for baz', 'text'),
],
],
dtype=[
NWBDtypeSpec('foo', 'column for foo', 'int'),
NWBDtypeSpec('bar', 'a column for bar', 'float')
]
)
NWBDtypeSpec('bar', 'a column for bar', 'float'),
],
)
.. tip::
Column-based tables are also possible and more flexible. See the documentation for :hdmf-docs:`DynamicTable <tutorials/plot_dynamictable_tutorial.html>`.
Expand Down

0 comments on commit fffadbe

Please sign in to comment.