src/hg/instinct/bioInt2/bioIntUI.c 1.23

1.23 2009/06/25 17:30:03 jsanborn
fixed bug with cohort_id
Index: src/hg/instinct/bioInt2/bioIntUI.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/bioIntUI.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -b -B -U 4 -r1.22 -r1.23
--- src/hg/instinct/bioInt2/bioIntUI.c	27 May 2009 22:48:02 -0000	1.22
+++ src/hg/instinct/bioInt2/bioIntUI.c	25 Jun 2009 17:30:03 -0000	1.23
@@ -651,10 +651,8 @@
 
 void getSuggestions()
 {
 int cohort_id = cartUsualInt(cart, bioIntCohortId, -1);
-if (cohort_id == -1)
-    cohort_id = 2;  // hard code for first analysis during testing!
 
 /* feature source = gene,geneset,clinical... */
 //char *source = cartOptionalString(cart, bioIntSourceName);
 
@@ -739,10 +737,8 @@
 
 void getClinicalData()
 {
 int cohort_id = cartUsualInt(cart, bioIntCohortId, -1);
-if (cohort_id == -1)
-    cohort_id = 2;  // hard code for first analysis during testing!
 
 char *feature_name = cartOptionalString(cart, bioIntFeatureName);
 if (!feature_name)
     errAbort("%s or %s must be set for mode=getClinicalData\n", bioIntFeature, bioIntFeatureId);