[postcreate] Remove "age" from examples", #3295982
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Thu, 14 Nov 2013 13:39:37 +0000
changeset 444 d8d2c665fbbb
parent 443 61681ac94bac
child 445 18d2cbeb86cd
[postcreate] Remove "age" from examples", #3295982
migration/postcreate.py
--- a/migration/postcreate.py	Thu Nov 14 13:38:20 2013 +0000
+++ b/migration/postcreate.py	Thu Nov 14 13:39:37 2013 +0000
@@ -37,17 +37,16 @@
               content=u'''<ul>
               <li>Query all the subjects of the database
               <pre>Any S WHERE S is Subject</pre></li>
-              <li>Query all the subjects of the database, with an age greater than 30
-              <pre>Any S WHERE S is Subject, S age > 30</pre></li>
-              <li>Query all the subjects of the database, with an age greater than 30, and that are female
-              <pre>Any S WHERE S is Subject, S age > 30, S gender "female"</pre></li>
-              <li>Query all the scans of subjects with an age greater than 30
-              <pre>Any X WHERE S is Subject, S age > 30, X is Scan, X concerns S</pre></li>
-              <li>Query all subjects with an age greater than 25, and that have a score greater than 4.O for the "algebre" question of the Localizer questionnary (Question number 2), and return both subject identifier and score
-              <pre>Any I,V WHERE S is Subject, S identifier I, S age > 25, X is QuestionnaireRun, X concerns S, A is Answer, A questionnaire_run X, A question Q, Q text "algebre", A value V, A value > 4</pre></li>
-              <li>Query all the Cmap scans of subjects with an age greater than 25, and that have a score greater than 4.O for the "algebre" question of the Localizer questionnary (Question number 2)
-              <pre>Any SA WHERE S is Subject, S age > 25, X is QuestionnaireRun, X concerns S, A is Answer,
-              A questionnaire_run X, A question Q, Q text "algebre", A value > 4, SA is Scan, SA concerns S, SA type "c map"</pre></li>
+              <li>Query all right-handed subjects of the database
+              <pre>Any S WHERE S is Subject, S handedness "right"</pre></li>
+              <li>Query all the right-handed female subjects of the database
+              <pre>Any S WHERE S is Subject, S handedness "right", S gender "female"</pre></li>
+              <li>Query all the scans of male subjects
+              <pre>Any X WHERE S is Subject, S gender "male", X is Scan, X concerns S</pre></li>
+              <li>Query all female subjects that have a score greater than 4.O for the "algebre" question of the Localizer questionnary (Question number 2), and return both subject identifier and score
+              <pre>Any I,V WHERE S is Subject, S identifier I, S gender "female", X is QuestionnaireRun, X concerns S, A is Answer, A questionnaire_run X, A question Q, Q text "algebre", A value V, A value > 4</pre></li>
+              <li>Query 100 Cmap scans of subjects that have a score greater than 4.O for the "algebre" question of the Localizer questionnary (Question number 2)
+              <pre>Any SA LIMIT 100 WHERE S is Subject, X is QuestionnaireRun, X concerns S, A is Answer, A questionnaire_run X, A question Q, Q text "algebre", A value > 4, SA is Scan, SA concerns S, SA type "c map"</pre></li>
               <li>Query all the Tmap scans for the "auditory calculation" contrast of subjects along with their Genomics data, when we have acquired data for Snps on the gene "CFB":
               <pre>Any S,SCF,FGEN WHERE S is Subject, SC is Scan, SC type "t map", SC label "auditory calculation", SC concerns S, SC filepath SCF, GEN is GenomicMeasure, GEN filepath FGEN, GEN concerns S, GEN platform P, P related_snps SN, G is Gene, G name "CFB", G start_position GSA, G stop_position GSO, SN position SP HAVING SP > GSA, SP &lt; GSO</pre></li>
               </ul>''')