src/hg/instinct/hgHeatmap2/drawingCode.c 1.65
1.65 2009/05/06 00:06:08 sbenz
Forced hg18 for genoLayChrom db to allow custom tracks
Index: src/hg/instinct/hgHeatmap2/drawingCode.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgHeatmap2/drawingCode.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -b -B -U 4 -r1.64 -r1.65
--- src/hg/instinct/hgHeatmap2/drawingCode.c 28 Jan 2009 01:54:55 -0000 1.64
+++ src/hg/instinct/hgHeatmap2/drawingCode.c 6 May 2009 00:06:08 -0000 1.65
@@ -378,9 +378,10 @@
char *chromEnd, int endBase,
int width, int sampleHeight)
{
/* Get list of chromosomes and lay them out. */
-struct genoLayChrom *chrom, *allChromList = genoLayDbChroms(conn, FALSE);
+struct sqlConnection *hg18conn = hAllocConnProfile(heatMapDbProfile, database);
+struct genoLayChrom *chrom, *allChromList = genoLayDbChroms(hg18conn, FALSE);
if (!allChromList)
return NULL;