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