786792aae190d4176c31cc419a8fb2714a475251 angie Mon May 21 15:35:18 2012 -0700 Prevent warning message about lack of special type support for views when type is gvf. (for #34) diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index 688b761..dbcae4c 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -737,31 +737,31 @@ } else if(startsWith("chain",type)) cType = cfgChain; else if (startsWith("bamWig", type)) cType = cfgWig; else if (startsWith("bam", type)) cType = cfgBam; else if (startsWith("psl", type)) cType = cfgPsl; else if (sameWord("vcfTabix",type)) cType = cfgVcf; // TODO: Only these are configurable so far if(cType == cfgNone && warnIfNecessary) { - if(!startsWith("bed ", type) && !startsWith("bigBed", type) + if (!startsWith("bed ", type) && !startsWith("bigBed", type) && !startsWith("gvf", type) && subgroupFind(tdb,"view",NULL)) warn("Track type \"%s\" is not yet supported in multi-view composites for %s.",type,tdb->track); } return cType; } int configurableByAjax(struct trackDb *tdb, eCfgType cfgTypeIfKnown) // Is this track configurable by right-click popup, or in hgTrackUi subCfg? // returns 0 = no; <0=explicitly blocked; >0=allowed and will be cfgType if determined { if (tdbIsMultiTrackSubtrack(tdb)) return cfgNone; // multitrack subtracks are never allowed to be separately configured. int ctPopup = (int)cfgTypeIfKnown; if (ctPopup <= cfgNone) ctPopup = (int)cfgTypeFromTdb(tdb,FALSE);