Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Oct 31, 2023
1 parent ff54bc0 commit a8d1ecc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/gallery/plot_external_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,11 @@ def __init__(self, **kwargs):

# :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.
dir_path = os.path.dirname(os.path.abspath(__file__))
yaml_file = os.path.join(dir_path, 'example_term_set.yaml')

er = HERD()
terms = TermSet(term_schema_path='tests/unit/example_test_term_set.yaml')
terms = TermSet(term_schema_path=yaml_file)
file = HERDManagerContainer(name='file')

er.add_ref_termset(file=file,
Expand Down

0 comments on commit a8d1ecc

Please sign in to comment.