79c5090c373a449c3fa3e83949736e7515f03da2
braney
  Tue Feb 5 09:36:59 2019 -0800
support schemas on bigWigs within composites.  #22885

diff --git src/lib/metaWig.c src/lib/metaWig.c
index dd5c45c..3a63cb6 100644
--- src/lib/metaWig.c
+++ src/lib/metaWig.c
@@ -16,31 +16,31 @@
 struct hash *hash = hashNew(0);
 struct bwgSection *section;
 for (section = sectionList; section != NULL; section = section->next)
     {
     if (!hashLookup(hash, section->chrom))
         hashAdd(hash, section->chrom, section);
     }
 return hash;
 }
 
 struct metaWig *metaWigOpen(char *fileName)
 /* Wrap self around file.  Read all of it if it's wig, just header if bigWig. */
 {
 struct metaWig *mw;
 AllocVar(mw);
-if (isBigWig(fileName))
+if (isBigWigFile(fileName))
     {
     mw->type = mwtBigWig;
     mw->bwf = bigWigFileOpen(fileName);
     }
 else
     {
     mw->lm = lmInit(0);
     mw->sectionList = bwgParseWig(fileName, FALSE, NULL, 512, mw->lm);
     mw->chromHash = hashSectionChroms(mw->sectionList);
     mw->type = mwtSections;
     }
 return mw;
 }
 
 void metaWigClose(struct metaWig **pMw)