Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Dec 12, 2023
1 parent b5b36ac commit 7a636de
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions docs/gallery/plot_external_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,10 @@ def __init__(self, **kwargs):
###############################################################################
# Using add_ref_termset
# ------------------------------------------------------
# :py:class:`~hdmf.common.resources.HERD` has multiple ways for users to add
# external references. The :py:func:`~hdmf.common.resources.HERD.add_ref_termset`
# The :py:func:`~hdmf.common.resources.HERD.add_ref_termset`
# method allows users to not only validate terms, i.e., keys, but also
# add references for entire datasets, lists, arrays, etc.

# The :py:func:`~hdmf.common.resources.HERD.add_ref_container` method is directly
# used for populating :py:class:`~hdmf.common.resources.HERD` when writing a file.
# :py:func:`~hdmf.common.resources.HERD.add_ref_termset` can be used for new files;
# however, it is also the best practice when adding references for existing files.
# add references for an entire datasets, rather than single entries as we saw
# prior with :py:func:`~hdmf.common.resources.HERD.add_ref`.

# :py:func:`~hdmf.common.resources.HERD.add_ref_termset` has many optional fields,
# giving the user a range of control when adding references. Let's see an example.
Expand Down

0 comments on commit 7a636de

Please sign in to comment.