1a5ac904a3b854204a706cec107024581405d4de gperez2 Thu Apr 24 13:37:24 2025 -0700 Updating the missing description page for track warning and adding a sentence with a Hub Track Database Definition page link, refs #32998 diff --git src/hg/utils/hubCheck/hubCheck.c src/hg/utils/hubCheck/hubCheck.c index de9f937edd9..5d66be2cf4f 100644 --- src/hg/utils/hubCheck/hubCheck.c +++ src/hg/utils/hubCheck/hubCheck.c @@ -905,32 +905,31 @@ // check that type line is syntactically correct regardless of // if we actually want to check the data file itself boolean foundTypeError = checkTypeLine(genome, tdb, errors, options); // No point in checking the data file if the type setting is incorrect, // since hubCheckBigDataUrl will error out early with a less clear message // if the type line is messed up. This has the added benefit of providing // consistent messaging on command line interface vs web interface if (!foundTypeError && options->checkFiles) hubCheckBigDataUrl(hub, genome, tdb); if (!sameString(tdb->track, "cytoBandIdeo")) { trackHubAddDescription(genome->trackDbFile, tdb); if (!tdb->html) - warn("warning: missing description page for track. Add 'html %s.html' line to the '%s' track stanza. " - "To learn more about adding description pages, see our documentation: http://genome.ucsc.edu/goldenPath/help/trackDb/trackDbHub.html#html", + warn("warning: missing description page for track. Add 'html %s.html' line to the '%s' track stanza. ", tdb->track, tdb->track); } if (!trackIsContainer && sameString(trackDbRequiredSetting(tdb, "type"), "bigWig")) { char *autoScaleSetting = trackDbLocalSetting(tdb, "autoScale"); if (autoScaleSetting && !sameString(autoScaleSetting, "off") && !sameString(autoScaleSetting, "on")) { errAbort("track \"%s\" has value \"%s\" for autoScale setting, " "valid autoScale values for individual bigWig tracks are \"off\" or \"on\" only. " "If \"%s\" is part of a bigWig composite track and you want to use the " "\"%s\" setting, only declare \"autoScale group\" in the parent stanza", trackHubSkipHubName(tdb->track), autoScaleSetting, trackHubSkipHubName(tdb->track), autoScaleSetting); }