IndexError: list index out of range when running add_to_existing
The purpose of this MR is to fix a bug which caused the add_to_existing
option to no longer work. An example traceback is below:
py3.6.egg/pesummary/core/webpage/main.py", line 415, in make_home_pages
self._make_home_pages(pages)
File "/home/charlie.hoy/virtualenvs/pesummary/lib/python3.6/site-packages/pesummary-0.2.3-py3.6.egg/pesummary/gw/webpage/main.py", line 348, in _make_home_pages
images, cli = self.default_images_for_result_page(i)
File "/home/charlie.hoy/virtualenvs/pesummary/lib/python3.6/site-packages/pesummary-0.2.3-py3.6.egg/pesummary/gw/webpage/main.py", line 805, in default_images_for_result_page
self.result_files[self.labels.index(label)], conf.burnin, label
IndexError: list index out of range
Edited by Charlie Hoy