d29ef4ffcf1e5fcd00755acea404bb42633fa71b kate Tue May 9 09:42:55 2017 -0700 Fix bug in last update time noted in code review (tnx Max!). refs #18736 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 87bd5ec..67a8594 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -8513,33 +8513,33 @@ if (isCustomTrack(tdb->track)) { if (ct) { conn = hAllocConn(CUSTOM_TRASH); tableName = ct->dbTableName; } } else if (startsWith("big", tdb->type)) { char *tableName = hTableForTrack(database, tdb->table); struct sqlConnection *conn = hAllocConnTrack(database, tdb); char *bbiFileName = bbiNameFromSettingOrTable(tdb, conn, tableName); hFreeConn(&conn); struct bbiFile *bbi = NULL; - if (startsWith("bigBed", tdb->type)) + if (startsWith("bigBed", tdb->type) || sameString("bigBarChart", tdb->type)) bbi = bigBedFileOpen(bbiFileName); - if (startsWith("bigWig", tdb->type)) + else if (startsWith("bigWig", tdb->type)) bbi = bigWigFileOpen(bbiFileName); time_t timep = 0; if (bbi) { timep = bbiUpdateTime(bbi); bbiFileClose(&bbi); } printBbiUpdateTime(&timep); } else { tableName = hTableForTrack(database, tdb->table); conn = hAllocConnTrack(database, tdb); } if (tableName)