src/hg/hgTracks/cutterTrack.c 1.14
1.14 2009/03/03 19:36:33 tdreszer
Cleaning up gray level code lead me to remove these unused calls
Index: src/hg/hgTracks/cutterTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/cutterTrack.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 4 -r1.13 -r1.14
--- src/hg/hgTracks/cutterTrack.c 3 Sep 2008 19:19:02 -0000 1.13
+++ src/hg/hgTracks/cutterTrack.c 3 Mar 2009 19:36:33 -0000 1.14
@@ -11,19 +11,15 @@
/* Draw the restriction enzyme at position. */
{
struct bed *bed = item;
int heightPer, x1, x2, w;
-struct trackDb *tdb = tg->tdb;
-int scoreMin, scoreMax;
if (!zoomedToBaseLevel)
bedDrawSimpleAt(tg, item, hvg, xOff, y, scale, font, color, vis);
else
{
heightPer = tg->heightPer;
x1 = round((double)((int)bed->chromStart-winStart)*scale) + xOff;
x2 = round((double)((int)bed->chromEnd-winStart)*scale) + xOff;
- scoreMin = atoi(trackDbSettingOrDefault(tdb, "scoreMin", "0"));
- scoreMax = atoi(trackDbSettingOrDefault(tdb, "scoreMax", "1000"));
color = hvGfxFindColorIx(hvg, 0,0,0);
w = x2-x1;
if (w < 1)
w = 1;