7a22dde46e2ba888a438a27d36d64f56bcd86f97 braney Sun Apr 27 16:51:14 2014 -0700 make sure that stacked wiggles are not set to mean+whiskers diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 264d69a..0720332 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4640,30 +4640,36 @@ printf(""); boolean parentLevel = isNameAtParentLevel(tdb, name); if (parentLevel) { assert(tdb->parent != NULL); char *aggregate = trackDbSetting(tdb->parent, "aggregate"); if (aggregate != NULL && parentLevel) { char *aggregateVal = cartOrTdbString(cart, tdb->parent, "aggregate", NULL); printf(""); + + if (sameString(aggregateVal, WIG_AGGREGATE_STACKED) && + sameString(windowingFunction, "mean+whiskers")) + { + windowingFunction = "maximum"; + } } } printf(""); printf("
Overlay method:"); safef(option, sizeof(option), "%s.%s", name, AGGREGATE); aggregateDropDown(option, aggregateVal); puts("
Type of graph:"); safef( option, sizeof(option), "%s.%s", name, LINEBAR ); wiggleGraphDropDown(option, lineBar); if (boxed) { printf(""); printf("Graph configuration help",WIGGLE_HELP_PAGE); } puts("
Track height:"); safef(option, sizeof(option), "%s.%s", name, HEIGHTPER );