7a4641fb6869e372e88498be6c33c3fc7462ab86 galt Fri Jul 30 14:22:16 2021 -0700 Kate forgot to fix these when changing the name of the virtual chrom from "virt" to "multi". fixes #27920 diff --git src/hg/hgIntegrator/hgIntegrator.c src/hg/hgIntegrator/hgIntegrator.c index 070940e..bc8bf67 100644 --- src/hg/hgIntegrator/hgIntegrator.c +++ src/hg/hgIntegrator/hgIntegrator.c @@ -963,31 +963,32 @@ webEnd(); } void doMiddle(struct cart *theCart) /* Depending on invocation, either perform a query and print out results, * serve up JSON for the UI, or display the main page. */ { cart = theCart; int timeout = cartUsualInt(cart, "udcTimeout", 300); if (udcCacheTimeout() < timeout) udcSetCacheTimeout(timeout); knetUdcInstall(); // Try to deal with virt chrom position used by hgTracks. -if (startsWith("virt:", cartUsualString(cart, "position", ""))) +if (startsWith( MULTI_REGION_CHROM, cartUsualString(cart, "position", "")) + || startsWith(OLD_MULTI_REGION_CHROM, cartUsualString(cart, "position", ""))) cartSetString(cart, "position", cartUsualString(cart, "nonVirtPosition", "")); if (cgiOptionalString(CARTJSON_COMMAND)) doCartJson(); else if (cgiOptionalString(DO_QUERY)) doQuery(); else doMainPage(); } int main(int argc, char *argv[]) /* Process CGI / command line. */ { long enteredMainTime = clock1000(); /* Null terminated list of CGI Variables we don't want to save