diff --git a/CHANGELOG.md b/CHANGELOG.md index 893dab6..fb505d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention. +## [0.2.0] - 2023-09-28 + ++ Add `Species` part table to `subject.py` + ## [0.1.8] - 2023-06-20 + Update - GitHub Actions workflows @@ -58,6 +62,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and + Add - `subject` schema + Add - `genotyping` schema +[0.2.0]: https://github.com/datajoint/element-animal/releases/tag/0.2.0 [0.1.8]: https://github.com/datajoint/element-animal/releases/tag/0.1.8 [0.1.7]: https://github.com/datajoint/element-animal/releases/tag/0.1.7 [0.1.6]: https://github.com/datajoint/element-animal/releases/tag/0.1.6 diff --git a/element_animal/subject.py b/element_animal/subject.py index f706105..881396c 100644 --- a/element_animal/subject.py +++ b/element_animal/subject.py @@ -162,6 +162,20 @@ class Subject(dj.Manual): subject_description='' : varchar(1024) """ + class Species(dj.Part): + """Subject species as Latin binomial or NCBI taxonomic identifier. + + Attributes: + Subject (foreign key): Primary key from Subject. + species (str): Subject species as Latin binomial or NCBI taxonomic identifier. + """ + + definition = """ + -> master + --- + species : varchar(32) + """ + class Protocol(dj.Part): """Protocol under which this subject animal is used. diff --git a/element_animal/version.py b/element_animal/version.py index 10bc5c5..8667345 100644 --- a/element_animal/version.py +++ b/element_animal/version.py @@ -1,2 +1,2 @@ """Package metadata.""" -__version__ = "0.1.8" +__version__ = "0.2.0"