src/hg/lib/trackDbCustom.c 1.59

1.59 2009/03/12 00:05:45 hiram
Fixup chain and net trackUi so they will work in multi-views
Index: src/hg/lib/trackDbCustom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/trackDbCustom.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -b -B -U 4 -r1.58 -r1.59
--- src/hg/lib/trackDbCustom.c	9 Feb 2009 23:14:11 -0000	1.58
+++ src/hg/lib/trackDbCustom.c	12 Mar 2009 00:05:45 -0000	1.59
@@ -656,8 +656,13 @@
 else if(startsWith("bigWig", tdb->type))
     cType = cfgWig;
 else if(startsWith("bedGraph", tdb->type))
     cType = cfgWig;
+else if(startsWith("netAlign", tdb->type))
+    {
+    cType = cfgNone;
+    warnIfNecessary = FALSE;
+    }
 else if(sameWord("bed5FloatScore",       tdb->type)
      || sameWord("bed5FloatScoreWithFdr",tdb->type))
     cType = cfgBedScore;
 else if(sameWord("narrowPeak",tdb->type)
@@ -673,8 +678,10 @@
     chopLine(cloneString( tdb->type), words);
     if (atoi(words[1]) >= 5 && trackDbSetting(tdb, "noScoreFilter") == NULL)
         cType = cfgBedScore;
     }
+else if(startsWith("chain",tdb->type))
+    cType = cfgChain;
 
 if(cType == cfgNone && warnIfNecessary)
     {
     if(!startsWith("bed ", tdb->type) && !startsWith("bigBed", tdb->type)