def index_to_nice_name(index):
    """Construct an indented name for the node given its path."""
    if index:
        return '&nbsp;' * 4 * (len(index) - 1) + index[-1]
    else:
        return 'Everything'
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/test/coveragereport.py/index_to_nice_name/original