[WIP] prevent redundant figures being uploaded
Created by: wilsonmr
closes #299 (closed)
The idea is to add an additional check which is ran only when uploading a report. The check simply makes sure that every png file in the figures directory is declared in the report, raises error if not.
Enforces the 'only upload clean output folder rule'
If the general idea is deemed good then I will:
- make more effort to neaten up the whole procedure
- run more tests on check
- attempt to expand check to look for redundant pdfs as well as pngs