747d414a3053db1454d223d0db7e74a4765e7c98 braney Tue Jan 24 17:00:18 2023 -0800 re-introducing chainSnakes into the browser diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index 34ce724..43fab40 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -690,31 +690,31 @@ eCfgType cfgTypeFromTdb(struct trackDb *tdb, boolean warnIfNecessary) /* determine what kind of track specific configuration is needed, warn if not multi-view compatible */ { eCfgType cType = cfgNone; char *type = tdb->type; assert(type != NULL); if(startsWith("wigMaf", type) || startsWith("bigMaf", type)) cType = cfgWigMaf; else if(startsWith("wig", type) || startsWith("mathWig", type) || startsWith("bigWig", type) || startsWith("bedGraph", type) || startsWith("bamWig", type)) cType = cfgWig; else if(startsWith("bigGenePred", type)) cType = cfgGenePred; -else if(startsWith("chain",type) || startsWith("bigChain",type)) +else if(startsWith("chain",type) || startsWith("bigChain",type) || startsWith("snake", type)) cType = cfgChain; else if (startsWith("psl", type) || startsWith("bigPsl", type)) cType = cfgPsl; else if (sameWord("barChart", type) || sameWord("bigBarChart", type)) cType = cfgBarChart; else if (sameWord("interact", type) || sameWord("bigInteract", type)) cType = cfgInteract; else if (startsWith("bigLolly", type)) cType = cfgLollipop; else if (startsWith("bigRmsk", type)) cType = cfgBigRmsk; else if (sameWord("bigDbSnp", type)) cType = cfgBigDbSnp; else if(startsWith("longTabix", type)) cType = cfgLong;