示例#1
0
def renderVocTermDetail(vocterm):
    dagtrees = []
    if not vocterm.isobsolete and vocterm.dagnodes:
        # build DAG trees for all the paths
        dagtrees = DagBuilder.buildDagTrees(vocterm.dagnodes)
        
    return render_template('detail/vocterm_detail.html',
                           vocterm = vocterm,
                           dagtrees = dagtrees)
示例#2
0
def renderVocTermDetail(vocterm):
    dagtrees = []
    if not vocterm.isobsolete and vocterm.dagnodes:
        # build DAG trees for all the paths
        dagtrees = DagBuilder.buildDagTrees(vocterm.dagnodes)
        
    return render_template('detail/vocterm_detail.html',
                           vocterm = vocterm,
                           dagtrees = dagtrees)