d8aef11766e1720af30e848211b03a1bee002cf7 max Fri Aug 21 03:14:29 2015 -0700 adding chopchop and nebcutter and fixing an obvious bug. Also adding a little tool that parse a Chrome HTTP trace and creates the extTools.ra entry mostly automatically. refs #15113 diff --git src/hg/hgTracks/extTools.c src/hg/hgTracks/extTools.c index 00f512f..50c2ce9 100644 --- src/hg/hgTracks/extTools.c +++ src/hg/hgTracks/extTools.c @@ -125,54 +125,54 @@ if (sameWord(et->tool, tool)) break; if (et==NULL) errAbort("No configuration found for tool %s", tool); // construct an invisible CGI form with the given parameters printf("
\n"); if (debug) printf("Target URL: %s", et->url);
char *chromName;
int winStart, winEnd;
char *db = cartString(cart, "db");
char *pos = cartString(cart, "position");
-int len = winEnd-winStart;
findGenomePos(db, pos, &chromName, &winStart, &winEnd, cart);
+int len = winEnd-winStart;
char *url = replaceInUrl(et->url, "", cart, db, chromName, winStart, winEnd, NULL, TRUE);
-printf("You're being redirected from the UCSC Genome Browser to the site %s
\n", url);
-if (et->email)
- printf("Please contact %s for questions on this tool.
\n", et->email);
-
char *method = "POST";
if (et->isHttpGet)
method = "GET";
printf("