444e5309f1913159a90d5d3026cf35af7558b743 chmalee Thu Oct 31 14:58:20 2019 -0700 Adding bigLolly to supprted hubCheck types, refs #24177 diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index ad6ebeb..44a686f 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -1196,31 +1196,32 @@ char *bigDataIndex = NULL; char *relIdxUrl = trackDbSetting(tdb, "bigDataIndex"); if (relIdxUrl != NULL) bigDataIndex = trackHubRelativeUrl(genome->trackDbFile, relIdxUrl); verbose(2, "checking %s.%s type %s at %s\n", genome->name, tdb->track, type, bigDataUrl); if (startsWithWord("bigWig", type)) { /* Just open and close to verify file exists and is correct type. */ struct bbiFile *bbi = bigWigFileOpen(bigDataUrl); bbiFileClose(&bbi); } else if (startsWithWord("bigNarrowPeak", type) || startsWithWord("bigBed", type) || startsWithWord("bigGenePred", type) || startsWithWord("bigPsl", type)|| startsWithWord("bigChain", type)|| startsWithWord("bigMaf", type) || - startsWithWord("bigBarChart", type) || startsWithWord("bigInteract", type)) + startsWithWord("bigBarChart", type) || startsWithWord("bigInteract", type) || + startsWithWord("bigLolly", type)) { /* Just open and close to verify file exists and is correct type. */ struct bbiFile *bbi = bigBedFileOpen(bigDataUrl); char *typeString = cloneString(type); nextWord(&typeString); if (startsWithWord("bigBed", type) && (typeString != NULL)) { unsigned numFields = sqlUnsigned(nextWord(&typeString)); if (numFields > bbi->fieldCount) errAbort("fewer fields in bigBed (%d) than in type statement (%d) for track %s with bigDataUrl %s", bbi->fieldCount, numFields, trackHubSkipHubName(tdb->track), bigDataUrl); } bbiFileClose(&bbi); } else if (startsWithWord("vcfTabix", type)) {