22dea53e5f67d373e87e6c7cd38ff9852c800c08 angie Fri Apr 3 13:23:33 2015 -0700 Use class stdTbl instead of making up new class. diff --git src/hg/hgc/vcfClick.c src/hg/hgc/vcfClick.c index 51dce08..a1e0567 100644 --- src/hg/hgc/vcfClick.c +++ src/hg/hgc/vcfClick.c @@ -225,31 +225,31 @@ printf("  %s", def->description); else printf(""); printf("\n"); } puts(""); // Now show the tabular fields, if any for (i = 0; i < rec->infoCount; i++) { struct vcfInfoElement *el = &(rec->infoElements[i]); const struct vcfInfoDef *def = vcfInfoDefForKey(vcff, el->key); if (looksTabular(def, el)) { puts("
"); printf("%s: %s
\n", el->key, def->description); - puts(""); + puts("
"); printTabularHeaderRow(def); printTabularData(el); puts("
"); } } } static void vcfGenotypeTable(struct vcfRecord *rec, char *track, char **displayAls) /* Put the table containing details about each genotype into a collapsible section. */ { static struct dyString *tmp1 = NULL; if (tmp1 == NULL) tmp1 = dyStringNew(0); jsBeginCollapsibleSection(cart, track, "genotypes", "Detailed genotypes", FALSE); dyStringClear(tmp1);