src/hg/lib/trackDbCustom.c 1.69
1.69 2009/08/28 00:11:49 tdreszer
Support for noScoreFilter and bigBed in cfgTypeFromTdb
Index: src/hg/lib/trackDbCustom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/trackDbCustom.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -b -B -U 4 -r1.68 -r1.69
--- src/hg/lib/trackDbCustom.c 20 Jul 2009 20:53:46 -0000 1.68
+++ src/hg/lib/trackDbCustom.c 28 Aug 2009 00:11:49 -0000 1.69
@@ -675,15 +675,15 @@
|| sameWord("gappedPeak",tdb->type))
cType = cfgPeak;
else if(sameWord("genePred",tdb->type))
cType = cfgGenePred;
-else if(startsWith("bed ", tdb->type)) // TODO: Only these are configurable so far
+else if(startsWith("bed ", tdb->type) || startsWith("bigBed ", tdb->type)) // TODO: Only these are configurable so far
{
char *words[3];
chopLine(cloneString( tdb->type), words);
if (trackDbSetting(tdb, "bedFilter") != NULL)
cType = cfgBedFilt;
- else if (atoi(words[1]) >= 5 && trackDbSetting(tdb, "noScoreFilter") == NULL)
+ else if (atoi(words[1]) >= 5 && trackDbSettingClosestToHome(tdb, "noScoreFilter") == NULL)
cType = cfgBedScore;
}
else if(startsWith("chain",tdb->type))
cType = cfgChain;