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/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index f11c72467d0..11005440a50 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -1623,30 +1623,32 @@ jsOnEventByIdF("click", "windowX", "closeIframe()"); if (isEmpty(hubUrl)) printf("Please wait, loading and checking hub. This usually takes a minute or two but can take up to 20 minutes for big hubs."); else { puts("<p><button id='reloadButton'>Check again</button>"); puts(" <button id='closeButton'>Close this window</button></p>"); jsOnEventByIdF("click", "reloadButton", "reloadIframe()"); jsOnEventByIdF("click", "closeButton", "closeIframe()"); jsInline("document.onkeydown = function(evt) { if (evt.keyCode===27) { closeIframe() } };"); int retVal = doValidateNewHub(hubUrl); if (retVal == 0) printf("<div>Finished checking %s</div>", hubUrl); puts("<hr>"); + puts("<p>More information about <b>hub settings</b> can be found on the " + "<a target=_blank href='https://genome.ucsc.edu/goldenPath/help/trackDb/trackDbHub.html'>Hub Track Database Definition</a> page."); puts("<p>Our command line tool <a target=_blank href='https://hgdownload.soe.ucsc.edu/downloads.html#utilities_downloads'>hubCheck</a> " "can be used to obtain the same output from a Unix command line.</p>"); puts("<p>To download the hubCheck tool for Linux, run these commands" " (replace 'linux' with 'macOSX' on a x86 Mac):<br>" "<pre>wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/hubCheck\n" "chmod a+x hubCheck\n" "hubCheck https://genome.ucsc.edu/goldenPath/help/examples/hubDirectory/hub.txt</pre></p>"); puts("<p>You can use the 'Esc' key to close this window.</p>"); } puts("</div>"); // margin 10px puts("</div>"); // ui-dialog-titlebar puts("</div>"); // ui-dialog cartWebEnd(); return; }