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 start to Ontology table #20

Merged
merged 14 commits into from
Nov 17, 2020
Merged

add start to Ontology table #20

merged 14 commits into from
Nov 17, 2020

Conversation

ajtritt
Copy link
Collaborator

@ajtritt ajtritt commented Apr 28, 2020

Add a compound data type table for storing ontology information

This is the schema addition needed for hdmf-dev/hdmf#339

@ajtritt
Copy link
Collaborator Author

ajtritt commented Oct 12, 2020

Todo: add ability to store annotations on records. This is needed for annotating CRID records.

common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
common/resources.yaml Outdated Show resolved Hide resolved
Comment on lines +10 to +12
- name: key_name
dtype: text
doc: The user term that maps to one or more resources in the 'resources' table.
Copy link
Contributor

Choose a reason for hiding this comment

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

Am I reading this right that this is a complex data type of length 1? What is the advantage of that over just using a string dtype?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The complex data type makes it easier to treat the dataset as a table.

Co-authored-by: Ryan Ly <[email protected]>
common/resources.yaml Outdated Show resolved Hide resolved
@ajtritt ajtritt marked this pull request as ready for review November 13, 2020 20:23
@ajtritt ajtritt merged commit d4ef2a6 into master Nov 17, 2020
@rly rly deleted the enh/ontology_table branch August 25, 2021 16:39
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.

4 participants