Lines Matching refs:trees
194 # list of all trees
195 trees = {}
212 if tree not in config.get("trees", {}):
214 mytree = trees[tree]
218 if isinstance(config["trees"][tree], basestring):
219 treeStr = config["trees"][tree]
225 config["trees"][tree] = config["variables"][treeStr]
226 myconfig = config["trees"][tree]
257 trees[tree] = mytree
284 trees[tree] = { "extension": ".res", "treeprefix": treeprefix, "hasIndex": True }
290 trees[tree]["locs"] = [line.strip() for line in treeitems]
291 if tree not in config.get("trees", {}):
292 print(" Warning: filter file %s does not mention trees.%s - will be kept as-is" % (options.filterfile, tree))
342 for tree in trees:
343 # skip trees that don't have res_index
344 if "hasIndex" not in trees[tree]:
347 if(trees[tree]["treeprefix"]):
348 treebunddir = os.path.join(treebunddir, trees[tree]["treeprefix"])
355 runcmd("icupkg","-s %s -a %s%s %s" % (options.tmpdir, trees[tree]["treeprefix"], RES_INDX, outfile))