bf56993131b5921ae1c4f2c01aef855ed1d35f0d kate Mon Dec 9 12:07:39 2013 -0800 Revert to no motif display in dense mode for now. Change Motif section label as per QA to clarify it matches strand. refs #9092 diff --git src/hg/hgc/regMotif.c src/hg/hgc/regMotif.c index ef31276..3abecbd 100644 --- src/hg/hgc/regMotif.c +++ src/hg/hgc/regMotif.c @@ -104,31 +104,31 @@ void motifMultipleHitsSection(struct dnaSeq **seqs, int count, struct dnaMotif *motif) /* Print out section about motif, possibly with mutliple occurrences. */ { // Detect inconsistent motif/pwm tables and suppress confusing display if (motif != NULL) { if (motif->columnCount != seqs[0]->size) { warn("Motif seq length doesn't match PWM\n"); return; } } #define MOTIF_HELP_PAGE "../goldenPath/help/hgRegMotifHelp.html" -webNewSection("Motif:"); +webNewSection("Motif Sequence from Matching Strand"); printf("<PRE>\n"); printf("<table>\n"); if (motif != NULL) { struct tempName pngTn; dnaMotifMakeProbabalistic(motif); makeTempName(&pngTn, "logo", ".png"); dnaMotifToLogoPng(motif, 47, 140, NULL, "../trash", pngTn.forCgi); printf("<tr><td></td><td colspan='%d'align=right><a href=\"%s\" target=_blank>Motif display help</a></td></tr>", motif->columnCount, MOTIF_HELP_PAGE); printf("<tr><td></td><td colspan='%d'>", motif->columnCount); printf("<IMG SRC=\"%s\" BORDER=1>", pngTn.forHtml); printf("</td><td></td></tr>\n"); } if (count > 0)