Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keywords #620

Merged
merged 8 commits into from
Sep 18, 2018
Merged

Add keywords #620

merged 8 commits into from
Sep 18, 2018

Conversation

bendichter
Copy link
Contributor

@bendichter bendichter commented Sep 17, 2018

Add keywords to spec, alter NWBFile to accept them, and add a test

@bendichter bendichter requested a review from oruebel September 18, 2018 01:17
oruebel
oruebel previously approved these changes Sep 18, 2018
Copy link
Contributor

@oruebel oruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the one comment I think this looks fine

@@ -180,6 +181,7 @@ class NWBFile(MultiContainerInterface):
{'name': 'session_id', 'type': str, 'doc': 'lab-specific ID for the session', 'default': None},
{'name': 'institution', 'type': str,
'doc': 'institution(s) where experiment is performed', 'default': None},
{'name': 'keywords', 'type': Iterable, 'doc': 'Terms to search over', 'default': None},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of 'type': Iterable I believe this should probably be 'type' : 'array_data'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bendichter bendichter merged commit 925d417 into dev Sep 18, 2018
@oruebel oruebel deleted the add_keywords branch October 2, 2018 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants