src/bvhtoolbox/convert/csv2bvh.py
def _get_hierarchy_string(nodes):
    """ Compose the hierarchy part of a bvh file.
    
    :param nodes: Dictionary with skeleton hierarchy.
    :type nodes: dict
    :return: Hierarchy as bvh string representation.
    :rtype: str
    """
    s = 'HIERARCHY\n'
    for joint in nodes:
        s = _close_scopes(s, _get_joint_depth(nodes, joint))
        s += _get_joint_string(nodes, joint)
    s = _close_scopes(s)
    return s
 Compose the hierarchy part of a bvh file.
    
    :param nodes: Dictionary with skeleton hierarchy.
    :type nodes: dict
    :return: Hierarchy as bvh string representation.
    :rtype: str
    
Compose the hierarchy part of a bvh file.
Compose the hierarchy part of a bvh file .
def _get_hierarchy_string(nodes):
    s = 'HIERARCHY\n'
    for joint in nodes:
        s = _close_scopes(s, _get_joint_depth(nodes, joint))
        s += _get_joint_string(nodes, joint)
    s = _close_scopes(s)
    return s
def _get_hierarchy_string ( nodes ) : s = 'HIERARCHY\n' for joint in nodes : s = _close_scopes ( s , _get_joint_depth ( nodes , joint ) ) s += _get_joint_string ( nodes , joint ) s = _close_scopes ( s ) return s
Compose the hierarchy part of a bvh file.
Compose the hierarchy part of a bvh file .
""" Compose the hierarchy part of a bvh file.
    
    :param nodes: Dictionary with skeleton hierarchy.
    :type nodes: dict
    :return: Hierarchy as bvh string representation.
    :rtype: str
    """
Hierarchy as bvh string representation.
Hierarchy as bvh string representation .
str
nodes
Dictionary with skeleton hierarchy.
Dictionary with skeleton hierarchy .