3489a161f5cf1dc1eb6e3e93d262b4f4617b8c0b
braney
  Thu Jun 9 11:58:36 2016 -0700
fix a problem with bigMaf in dense when there's no data in the file #17325

diff --git src/hg/hgTracks/wigMafTrack.c src/hg/hgTracks/wigMafTrack.c
index 70a53cd..3901c06 100644
--- src/hg/hgTracks/wigMafTrack.c
+++ src/hg/hgTracks/wigMafTrack.c
@@ -2540,30 +2540,31 @@
         drawMafRegionDetails(mp->list, height, seqStart, seqEnd,
                                 hvg, xOff, yOff, width, font,
                                 color, color, scoreVis, FALSE, FALSE,
 				doSnpMode);
         }
     else if (mp->ct != NULL)
         {
         /* use or scored refs from maf table*/
         drawScoreOverviewCT(mp->ct->dbTableName, height, seqStart, seqEnd,
 		hvg, xOff, yOff, width, font, color, color, scoreVis);
         yOff++;
         }
     else
         {
         /* use or scored refs from maf table*/
+        if (differentString(track->tdb->type, "bigMaf"))
             drawScoreOverview(track->table, height, seqStart, seqEnd, hvg,
                             xOff, yOff, width, font, color, color, scoreVis);
         yOff++;
         }
     yOff += height;
     }
 else
     {
     Color wigColor = 0;
     while (wigTrack != NULL)
         {
         /* draw conservation wiggles */
         if (!wigColor)
             wigColor = hvGfxFindRgb(hvg, &wigTrack->color);
         else