src/hg/instinct/bioInt2/makeClusterFiles.c 1.3
1.3 2009/09/05 01:12:01 sbenz
Added em to pipeline
Index: src/hg/instinct/bioInt2/makeClusterFiles.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/makeClusterFiles.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/hg/instinct/bioInt2/makeClusterFiles.c 1 Sep 2009 05:18:02 -0000 1.2
+++ src/hg/instinct/bioInt2/makeClusterFiles.c 5 Sep 2009 01:12:01 -0000 1.3
@@ -929,10 +929,13 @@
char *cohort_name = getCohortName(biConn, cohort_id);
struct slName *tableNames = getCohortTables(biConn, cohort_id);
uglyTime(NULL);
-struct slPair *spPathways = getPathwaysByName(biConn, pathway);
-//struct slPair *spPathways = getPathwaysByName(biConn, NULL);
+struct slPair *spPathways;
+if(sameWord(pathway,"all"))
+ spPathways = getPathwaysByName(biConn, NULL);
+else
+ spPathways = getPathwaysByName(biConn, pathway);
uglyTime("got pathways");
if (slCount(spPathways) == 0)
errAbort("No pathways by name of %s", pathway);