When running generate_html.py on a folder with plots, I get the following error:
Traceback (most recent call last):
File "/home/steinberg/src/smash-analysis-new/test/report/generate_html.py", line 660, in <module>
tree = reorder_tree(tree, source_dir.split('/')[-2])
IndexError: list index out of range
Apparently, the code makes some assumptions about the folder structure. However, they seem to be undocumented, so I don't know how invoke the script correctly.
Ideally, I think the code should be more robust and not make those assumptions.
When running
generate_html.py
on a folder with plots, I get the following error:Apparently, the code makes some assumptions about the folder structure. However, they seem to be undocumented, so I don't know how invoke the script correctly.
Ideally, I think the code should be more robust and not make those assumptions.