7c56b0e7fc0472632794f415368ef48a9cbd2c71
kate
  Thu Mar 24 20:49:13 2016 -0700
Remove debug statements.

diff --git src/hg/hgTracks/gtexTracks.c src/hg/hgTracks/gtexTracks.c
index 13dacfa..12674ba 100644
--- src/hg/hgTracks/gtexTracks.c
+++ src/hg/hgTracks/gtexTracks.c
@@ -313,45 +313,43 @@
 double totalScore = 0.0;
 int maxNum = 0, i;
 int expCount = geneBed->expCount;
 for (i=0; i<expCount; i++)
     {
     expScore = geneBed->expScores[i];
     if (expScore > maxScore)
         {
         maxScore = max(maxScore, expScore);
         maxNum = i;
         }
     totalScore += expScore;
     }
 // threshold to consider this gene tissue specific -- a tissue contributes > 10% to 
 // total expression level
-//uglyf("gene=%s maxScore=%0.2f totalScore=%0.2f ", geneBed->name, maxScore, totalScore);
 if (totalScore < 1 || maxScore <= totalScore * .1)
     return -1;
 return maxNum;
 }
 
 static Color gtexGeneItemColor(struct track *tg, void *item, struct hvGfx *hvg)
 /* A bit of tissue-specific coloring in squish mode only, on geneBed item */
 {
 struct gtexGeneBed *geneBed = (struct gtexGeneBed *)item;
 int id = maxTissueForGene(geneBed);
 if (id < 0)
     return MG_BLACK;
 struct gtexGeneExtras *extras = (struct gtexGeneExtras *)tg->extraUiData;
-//uglyf("COLOR maxNum=%d<br>", maxNum);
 struct rgbColor color = extras->colors[id];
 return hvGfxFindColorIx(hvg, color.r, color.g, color.b);
 }
 
 static void gtexGeneLoadItems(struct track *tg)
 /* Load method for track items */
 {
 if (tg->visibility == tvSquish || tg->limitedVis == tvSquish)
     tg->itemColor = gtexGeneItemColor;
 
 /* Get track UI info */
 struct gtexGeneExtras *extras;
 AllocVar(extras);
 tg->extraUiData = extras;
 
@@ -603,31 +601,30 @@
 return valToClippedHeight(maxExp, maxMedian, viewMax, gtexMaxGraphHeight(), extras->doLogTransform);
 }
 
 static void gtexGeneDrawAt(struct track *tg, void *item, struct hvGfx *hvg, int xOff, int y, 
                 double scale, MgFont *font, Color color, enum trackVisibility vis)
 /* Draw tissue expression bar graph over gene model. 
    Optionally, draw a second graph under gene, to compare sample sets */
 {
 struct gtexGeneExtras *extras = (struct gtexGeneExtras *)tg->extraUiData;
 struct gtexGeneInfo *geneInfo = (struct gtexGeneInfo *)item;
 struct gtexGeneBed *geneBed = geneInfo->geneBed;
 // Color in squish mode using geneClass
 Color statusColor = getGeneClassColor(hvg, geneBed);
 if (vis != tvFull && vis != tvPack)
     {
-uglyf("<br>drawAt %s\n", geneBed->name);
     bedDrawSimpleAt(tg, geneBed, hvg, xOff, y, scale, font, statusColor, vis);
     return;
     }
 
 int heightPer = tg->heightPer;
 int graphX = gtexGraphX(geneBed);
 if (graphX < 0)
     return;
 
 // draw gene model
 int topGraphHeight = gtexGeneGraphHeight(tg, geneInfo, TRUE);
 topGraphHeight = max(topGraphHeight, tl.fontHeight);
 int yZero = topGraphHeight + y - 1;  // yZero is bottom of graph
 int yGene = yZero + gtexGeneMargin() - 1;
 tg->heightPer = gtexGeneModelHeight(extras) + 1;