cc0fcb9762d1900766c7e1f1942cbb5561297854 hiram Tue Jul 30 09:55:28 2019 -0700 allow bigGenePred to open when it is just a bigDataUrl trackDb entry with no associated table refs #23900 diff --git src/hg/hubApi/apiUtils.c src/hg/hubApi/apiUtils.c index c31b185..2e4523d 100644 --- src/hg/hubApi/apiUtils.c +++ src/hg/hubApi/apiUtils.c @@ -333,30 +333,31 @@ } } if (sameOk(trackFound->track, track)) break; } return trackFound; } boolean allowedBigBedType(char *type) /* return TRUE if the big* bed-like type is to be supported * add to this list as the big* bed-like supported types are expanded */ { if (startsWithWord("bigBed", type) || + startsWithWord("bigGenePred", type) || startsWithWord("bigPsl", type) ) return TRUE; else return FALSE; } struct bbiFile *bigFileOpen(char *trackType, char *bigDataUrl) /* open bigDataUrl for correct trackType and error catch if failure */ { struct bbiFile *bbi = NULL; struct errCatch *errCatch = errCatchNew(); if (errCatchStart(errCatch)) { if (allowedBigBedType(trackType))