1d8a8611535e7ee7e5a1ede5d619034952a6b81f braney Wed Apr 15 12:52:03 2015 -0700 fix a hgTables problem with tracks with '.' in them in track hubs #15182 diff --git src/hg/hgTables/hgTables.c src/hg/hgTables/hgTables.c index 7f0ff8b..618d734 100644 --- src/hg/hgTables/hgTables.c +++ src/hg/hgTables/hgTables.c @@ -553,31 +553,31 @@ { char buf[256]; safef(buf, sizeof(buf), "%s_%s", chrom, table); return cloneString(buf); } } } struct hTableInfo *hubTrackTableInfo(struct trackDb *tdb) /* Given trackDb entry for a hub track, wrap table info around it. */ { struct hTableInfo *hti = NULL; if (tdb->subtracks == NULL) { if (startsWithWord("bigBed", tdb->type) || startsWithWord("bigGenePred", tdb->type)) - hti = bigBedToHti(tdb->track, NULL); + hti = bigBedToHti(tdb->table, NULL); else if (startsWithWord("bam", tdb->type)) hti = bamToHti(tdb->table); else if (startsWithWord("vcfTabix", tdb->type)) hti = vcfToHti(tdb->table, TRUE); } if (hti == NULL) { AllocVar(hti); hti->rootName = cloneString(tdb->track); hti->isPos = TRUE; hti->type = cloneString(tdb->type); } return hti; }