e8150b9257bb593758eb48a92c20b374b264b9b8 tdreszer Tue Dec 21 15:50:04 2010 -0800 Fix for redmine 2036 (silent javascript errors because lib code was inappropriately including hu.js for hgTables merge list. Added feature for redmine 2062. Now hgc and hgTrackUi will show pennantIcon with note. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 3f1cb80..e5ae14f 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -2683,30 +2683,34 @@ if ((tableName = hTableForTrack(database, tdb->table)) != NULL) { struct sqlConnection *conn = hAllocConnTrack(database, tdb); char *date = firstWordInLine(sqlTableUpdate(conn, tableName)); if (date != NULL) printf("Data last updated: %s
\n", date); hFreeConn(&conn); } printDataRestrictionDate(tdb); } char *html = getHtmlFromSelfOrParent(tdb); if (html != NULL && html[0] != 0) { htmlHorizontalLine(); + + // Add pennantIcon + printPennantIconNote(tdb); + puts(html); } hPrintf("
\n"); } void qChainRangePlusStrand(struct chain *chain, int *retQs, int *retQe) /* Return range of bases covered by chain on q side on the plus * strand. */ { if (chain == NULL) errAbort("Can't find range in null query chain."); if (chain->qStrand == '-') { *retQs = chain->qSize - chain->qEnd+1; *retQe = chain->qSize - chain->qStart;