3def make_treevec(repcondargs):
4 """find the tree vector from a list of RepeatedCondition configuration
5 AlgTools using the indices assigned to each AlgTool"""
7 treevec = [
None for i
in range(len(repcondargs)+1)]
9 treevec[rc.tree_id] = rc.tree_pid
11 assert treevec[0]
is None
14 assert None not in treevec