Commit 3032cb75 authored by Vincent Michel's avatar Vincent Michel
Browse files

[schema] Add shortcut relation mutated_genes for GenomicMeasure

parent e117d575ce1b
......@@ -21,3 +21,4 @@ add_attribute('Mutation', 'dbnsp')
add_attribute('Mutation', 'amplicon')
add_attribute('GenomicMeasure', 'conclusion')
add_attribute('GenomicMeasure', 'healthy_tissue')
add_relation_definition('GenomicMeasure', 'mutated_genes', 'Gene')
......@@ -133,6 +133,7 @@ class GenomicMeasure(EntityType):
row_on_chip = Int()
conclusion = String(fulltextindexed=True)
healthy_tissue = Boolean()
mutated_genes = SubjectRelation('Gene', cardinality='**')
class GenomicPlatform(EntityType):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment