677b513b231891e30d32024de7ded7766ef72058
braney
  Wed May 24 14:09:42 2017 -0700
add mathWig track type which is an arithmetic combination of bigWi.

diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h
index 0a925fb..3fe1ee5 100644
--- src/hg/inc/trackDb.h
+++ src/hg/inc/trackDb.h
@@ -608,31 +608,31 @@
 INLINE boolean tdbIsBigBed(struct trackDb *tdb)
 // Local test to see if something is big bed.  Handles hub tracks unlike hIsBigBed.
 {
 // KRR TODO: replace with table lookup  (same as bigBedFind ?)
 return startsWithWord("bigBed", tdb->type) || 
         startsWithWord("bigGenePred", tdb->type) || 
         startsWithWord("bigMaf", tdb->type) || 
         startsWithWord("bigPsl", tdb->type) || 
         startsWithWord("bigBarChart", tdb->type) || 
         startsWithWord("bigChain", tdb->type);
 }
 
 INLINE boolean tdbIsBigWig(struct trackDb *tdb)
 // Local test to see if something is big bed.  Handles hub tracks unlike hIsBigBed.
 {
-return startsWithWord("bigWig", tdb->type);
+return startsWithWord("bigWig", tdb->type) || startsWithWord("mathWig", tdb->type);
 }
 
 INLINE boolean tdbIsLongTabix(struct trackDb *tdb)
 // Return TRUE if tdb corresponds to a long tabix file.
 {
 return startsWithWord("longTabix", tdb->type);
 }
 
 INLINE boolean tdbIsBam(struct trackDb *tdb)
 // Return TRUE if tdb corresponds to a BAM file.
 {
 return startsWithWord("bam", tdb->type);
 }
 
 INLINE boolean tdbIsVcf(struct trackDb *tdb)