59d2dae3dd633e29eb51231a6385cfe9a346de6e galt Tue May 28 10:43:09 2013 -0700 removing unwanted webEnd calls which caused duplicate ending html and warn handler pop underflow errors diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 3e756c5..427e5e7 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -8208,31 +8208,30 @@ char *quotedItem = makeQuotedString(geneName, '\''); safef(constraints, sizeof(constraints), "name = %s", quotedItem); puts("
"); itemCount = hgSeqItemsInRange(database, table, seqName, winStart, winEnd, constraints); if (itemCount == 0) printf("\n# No results returned from query.\n\n"); puts(""); freeMem(quotedItem); } void htcTrackHtml(struct trackDb *tdb) /* Handle click to display track html */ { cartWebStart(cart, database, "%s", tdb->shortLabel); printTrackHtml(tdb); -webEnd(); } void doViralProt(struct trackDb *tdb, char *geneName) /* Handle click on known viral protein track. */ { struct sqlConnection *conn = hAllocConn(database); int start = cartInt(cart, "o"); struct psl *pslList = NULL; cartWebStart(cart, database, "Viral Gene"); printf("
"); axtOneGeneOut(database, axtList, LINESIZE, stdout , gp, qNibFile); puts(""); } axtInfoFreeList(&aiList); -webEnd(); hFreeConn(&conn2); } void htcLongXenoPsl2(char *htcCommand, char *item) /* Display alignment - loading sequence from nib file. */ { char *pslTable = cgiString("pslTable"); char *otherOrg = cgiString("otherOrg"); char *otherDb = cgiString("otherDb"); struct psl *psl = loadPslFromRangePair(pslTable, item); char *qChrom; char *ptr; char name[128]; struct dnaSeq *qSeq = NULL; @@ -18626,31 +18624,30 @@ "?search=%s&type=jpg \" Target=%s_JPG>" "Clone Read Depth Graph (JPG)
Click directly on a duplication for information on that " "duplication.
"); } printTrackHtml(tdb); hFreeConn(&conn); -webEnd(); } void parseSuperDupsChromPointPos(char *pos, char *retChrom, int *retPos, int *retID) /* Parse out (No.)?NNNN[.,]chrN:123 into NNNN and chrN and 123. */ { char *words[16]; int wordCount = 0; char *sep = ",.:"; char *origPos = pos; if (startsWith("No.", pos)) pos += strlen("No."); pos = cloneString(pos); wordCount = chopString(pos, sep, words, ArraySize(words)); if (wordCount < 2 || wordCount > 3) @@ -18748,31 +18745,30 @@ printf(" Transverions: %dClick directly on a repeat for specific information on that repeat
"); printTrackHtml(tdb); -webEnd(); } /* end of Evan Eichler's stuff */ void doCgh(char *track, char *tissue, struct trackDb *tdb) /* Create detail page for comparative genomic hybridization track */ { char query[256]; struct sqlConnection *conn = hAllocConn(database); struct sqlResult *sr = NULL; char **row; /* Print out non-sequence info */ cartWebStart(cart, database, "%s", tissue); /* Print general range info */