-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 2.5.0/ Update ExternalResources to HERD (#1754)
* Update ExternalResources to HERD * Update setup.py * Update requirements.txt * Update requirements-min.txt * Update environment-ros3.yml * Update CHANGELOG.md * Update environment-ros3.yml * Update run_tests.yml * Update run_all_tests.yml * Update run_tests.yml * Update run_all_tests.yml * Update run_all_tests.yml * Update run_tests.yml
- Loading branch information
Showing
11 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
from hdmf.common import ExternalResources as hdmf_ExternalResources | ||
from hdmf.common import HERD as hdmf_HERD | ||
from . import get_type_map as tm | ||
from hdmf.utils import docval, get_docval | ||
|
||
|
||
class ExternalResources(hdmf_ExternalResources): | ||
@docval(*get_docval(hdmf_ExternalResources.__init__)) | ||
class HERD(hdmf_HERD): | ||
""" | ||
HDMF External Resources Data Structure. | ||
A table for mapping user terms (i.e. keys) to resource entities. | ||
""" | ||
@docval(*get_docval(hdmf_HERD.__init__)) | ||
def __init__(self, **kwargs): | ||
kwargs['type_map'] = tm() | ||
super().__init__(**kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters