def index_to_url(index):
    """Construct a relative hyperlink to a tree node given its path."""
    if index:
        return '.'.join(index) % '%s.html'
    return 'index.html'
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/test/coveragereport.py/index_to_url/swapped operands of `%`