aecb77f1983b836e929cb00c825e1d947fe47421 braney Thu Mar 23 10:34:57 2017 -0700 small tweak to coverage wiggle support so default values are the same in hgTracks and they are in hgTrackUi diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 19a871e..40d742c 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -737,33 +737,31 @@ int tgFixedTotalHeightOptionalOverflow(struct track *tg, enum trackVisibility vis, int lineHeight, int heightPer, boolean allowOverflow) /* Most fixed height track groups will use this to figure out the height * they use. */ { boolean doWiggle = cartOrTdbBoolean(cart, tg->tdb, "doWiggle" , FALSE); if (doWiggle) { struct wigCartOptions *wigCart = tg->wigCartData; if (tg->wigCartData == NULL) { // fake the trackDb range for this auto-wiggle int wordCount = 3; char *words[3]; - words[0] = "wig"; - words[1] = "0"; - words[2] = "127"; + words[0] = "bedGraph"; wigCart = wigCartOptionsNew(cart, tg->tdb, wordCount, words ); tg->wigCartData = (void *) wigCart; } return wigTotalHeight(tg, vis); } int rows; double maxHeight = maximumTrackHeight(tg); int itemCount = slCount(tg->items); int maxItemsToUseOverflow = maxItemsToOverflow(tg); tg->heightPer = heightPer; tg->lineHeight = lineHeight; /* Note that the maxCount variable passed to packCountRowsOverflow() is tied to the maximum height allowed for a track and influences