Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.25 KB

structure_tree_util.md

File metadata and controls

54 lines (36 loc) · 1.25 KB

structure_tree_util

Contents

child_ids [#6]

Check the source code online

def child_ids(structure, structure_list):

 
docstring:

no docstring

get_structures_tree [#15]

Check the source code online

def get_structures_tree(structures_list):

 
docstring:

Creates a 'tree' graph with the hierarchical organisation of all
    structures

add_descendants_to_tree [#19]

Check the source code online

def add_descendants_to_tree(structures_list, id_to_acronym_map, tree,
    structure_id, parent_id):

 
docstring:

Recursively goes through all the the descendants of a region and adds
    them to the tree