src/hg/instinct/hgHeatmap2/drawingCode.c 1.78
1.78 2010/03/10 22:55:39 jsanborn
added profile to gh object for cancer public server
Index: src/hg/instinct/hgHeatmap2/drawingCode.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgHeatmap2/drawingCode.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -b -B -U 4 -r1.77 -r1.78
--- src/hg/instinct/hgHeatmap2/drawingCode.c 7 Oct 2009 00:17:25 -0000 1.77
+++ src/hg/instinct/hgHeatmap2/drawingCode.c 10 Mar 2010 22:55:39 -0000 1.78
@@ -283,9 +283,9 @@
char *featureDb = gh->patDb;
char *raName = gh->raFile;
if ((featureDb) && (raName))
- return hAllocConnProfile(heatMapDbProfile, featureDb);
+ return hAllocConnProfile(gh->profile, featureDb);
else
return NULL;
}
@@ -510,9 +510,9 @@
boolean isSNP = FALSE;
struct hash *geneHash = NULL;
if (gh)
{
- getChromHeatmapHash(&geneHash, gh->database, gh->probeTable,
+ getChromHeatmapHash(gh, &geneHash, gh->database, gh->probeTable,
gh->name, NULL, geneSets);
if (!geneHash)
return NULL;
@@ -1183,9 +1183,9 @@
if ((labTable == NULL) || (key == NULL) || (value == NULL) || (db==NULL))
return;
-struct sqlConnection *conn = hAllocConnProfile(heatMapDbProfile, db);
+struct sqlConnection *conn = hAllocConnProfile(gh->profile, db);
if (!conn)
return;
@@ -1475,9 +1475,9 @@
if ((labTable == NULL) || (key == NULL) || (value == NULL) || (db==NULL))
return;
-struct sqlConnection *conn = hAllocConnProfile(heatMapDbProfile, db);
+struct sqlConnection *conn = hAllocConnProfile(gh->profile, db);
if (!conn)
return;