c79f57db6b68e17b73465b08c16a23718e7459f5 braney Fri Jul 19 13:10:47 2013 -0700 don't set the position in hgGene, leave it what it was fixes #11202 diff --git src/hg/hgGene/hgGene.c src/hg/hgGene/hgGene.c index 4289dd8..0d7595b 100644 --- src/hg/hgGene/hgGene.c +++ src/hg/hgGene/hgGene.c @@ -673,34 +673,30 @@ else if (cartVarExists(cart, hggDoOtherProteinSeq)) doOtherProteinSeq(conn, curGeneName); else if (cartVarExists(cart, hggDoOtherProteinAli)) doOtherProteinAli(conn, curGeneId, curGeneName); else { /* Default case - start fancy web page. */ cartWebStart(cart, database, "%s Gene %s (%s) Description and Page Index", genome, curGeneName, curGeneId); webMain(conn); cartWebEnd(); } hFreeConn(&spConn); hFreeConn(&conn); } -/* load the cart with the position info we got from the gene name */ -char buffer[1024]; -safef(buffer, sizeof buffer, "%s:%d-%d", curGeneChrom, curGeneStart+1, curGeneEnd); -cartSetString(cart, "position", cloneString(buffer)); cartRemovePrefix(cart, hggDoPrefix); } char *excludeVars[] = {"Submit", "submit", "ajax", hggAjaxSection, NULL}; int main(int argc, char *argv[]) /* Process command line. */ { long enteredMainTime = clock1000(); cgiSpoof(&argc, argv); htmlSetStyle(htmlStyleUndecoratedLink); if (argc != 1) usage(); oldVars = hashNew(10); cartEmptyShell(cartMain, hUserCookie(), excludeVars, oldVars);