5a8eb01f550f3e1460d17e3f71ce4f240a3bb81d angie Fri Jul 27 15:10:18 2018 -0700 linefile.c supports .zip files, so customTrack.c should too. diff --git src/hg/lib/customTrack.c src/hg/lib/customTrack.c index a59ef8c..f8cede6 100644 --- src/hg/lib/customTrack.c +++ src/hg/lib/customTrack.c @@ -614,30 +614,31 @@ { /* no custom tracks remaining for this assembly */ cartRemove(cart, ctFileVar); cartRemovePrefix(cart, CT_PREFIX); } } boolean customTrackIsCompressed(char *fileName) /* test for file suffix indicating compression */ { char *fileNameDecoded = cloneString(fileName); cgiDecode(fileName, fileNameDecoded, strlen(fileName)); boolean result = (endsWith(fileNameDecoded,".gz") || endsWith(fileNameDecoded,".Z") || + endsWith(fileNameDecoded,".zip") || endsWith(fileNameDecoded,".bz2")); freeMem(fileNameDecoded); return result; } static char *prepCompressedFile(struct cart *cart, char *fileName, char *binVar, char *fileVar) /* determine compression type and format properly for parser */ { if (!customTrackIsCompressed(fileName)) return NULL; char buf[256]; char *cFBin = cartOptionalString(cart, binVar); if (cFBin) {