[facets] age of Subject is obsolete
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Sat, 20 Jul 2013 18:16:30 +0200
changeset 356 2a4cd09f9c66
parent 355 c1672cba8805
child 357 37d762ca7246
[facets] age of Subject is obsolete Instead use age_for_assessment
views/facets.py
--- a/views/facets.py	Sat Jul 20 16:43:54 2013 +0200
+++ b/views/facets.py	Sat Jul 20 18:16:30 2013 +0200
@@ -26,7 +26,7 @@
 class MeasureAgeFacet(facet.RQLPathFacet):
     __regid__ = 'measure-age-facet'
     __select__ = is_instance('Scan', 'QuestionnaireRun', 'GenomicMeasure')
-    path = ['X concerns S', 'S age A']
+    path = ['S generates X', 'S age_for_assessment A']
     order = 1
     filter_variable = 'A'
     title = _("Subject Age")
@@ -34,15 +34,15 @@
 class MeasureHandednessFacet(facet.RQLPathFacet):
     __regid__ = 'measure-handedness-facet'
     __select__ = is_instance('Scan', 'QuestionnaireRun', 'GenomicMeasure')
-    path = ['X concerns S', 'S handedness A']
+    path = ['X concerns S', 'S handedness H']
     order = 2
-    filter_variable = 'A'
+    filter_variable = 'H'
     title = _('Subject Handedness')
 
 class MeasureGenderFacet(facet.RQLPathFacet):
     __regid__ = 'measure-gender-facet'
     __select__ = is_instance('Scan', 'QuestionnaireRun', 'GenomicMeasure')
-    path = ['X concerns S', 'S gender A']
+    path = ['X concerns S', 'S gender G']
     order = 3
-    filter_variable = 'A'
+    filter_variable = 'G'
     title = _('Subject Gender')