[schema] Drop incorrect inlined relation for assessment and scorevalue
authorVincent Michel <vincent.michel@logilab.fr>
Wed, 03 Jul 2013 16:04:21 +0200
changeset 155 f2d3d2816f2d
parent 154 63acf059a3fe
child 157 69c1d0737721
[schema] Drop incorrect inlined relation for assessment and scorevalue
schema.py
--- a/schema.py	Wed Jul 03 16:03:39 2013 +0200
+++ b/schema.py	Wed Jul 03 16:04:21 2013 +0200
@@ -46,14 +46,14 @@
 Assessment.add_relation(SubjectRelation('Scan', cardinality='**'), name='uses')
 Assessment.add_relation(SubjectRelation('GenomicMeasure', cardinality='**'), name='uses')
 
-Assessment.add_relation(SubjectRelation('QuestionnaireRun', cardinality='?*', inlined=True), name='generates')
-Assessment.add_relation(SubjectRelation('Scan', cardinality='?*', inlined=True), name='generates')
-Assessment.add_relation(SubjectRelation('GenomicMeasure', cardinality='?*', inlined=True), name='generates')
+Assessment.add_relation(SubjectRelation('QuestionnaireRun', cardinality='?*'), name='generates')
+Assessment.add_relation(SubjectRelation('Scan', cardinality='?*'), name='generates')
+Assessment.add_relation(SubjectRelation('GenomicMeasure', cardinality='?*'), name='generates')
 
 # Score -> Measure
-ScoreValue.add_relation(SubjectRelation('QuestionnaireRun', cardinality='?*', inlined=True), name='measure')
-ScoreValue.add_relation(SubjectRelation('Scan', cardinality='?*', inlined=True), name='measure')
-ScoreValue.add_relation(SubjectRelation('GenomicMeasure', cardinality='?*', inlined=True), name='measure')
+ScoreValue.add_relation(SubjectRelation('QuestionnaireRun', cardinality='?*'), name='measure')
+ScoreValue.add_relation(SubjectRelation('Scan', cardinality='?*'), name='measure')
+ScoreValue.add_relation(SubjectRelation('GenomicMeasure', cardinality='?*'), name='measure')
 
 # Use for filepath computation
 QuestionnaireRun.add_relation(SubjectRelation('Study', cardinality='1*', inlined=True), name='related_study')