targets.extend([os.path.join(MAINDIR,p,"report-{}.html".format(mp)) for mp in multiparts])
targets.extend([os.path.join(MAINDIR,p,"report-{}.html".format(mp)) if mp != DEFAULT_REPORT_PART else os.path.join(MAINDIR, p, "report.html") for mp in multiparts])
targets.extend([os.path.join(MAINDIR,config["analysis_name"],"report-{}.html".format(mp)) for mp in multiparts])
targets.extend([os.path.join(MAINDIR,config["analysis_name"],"report-{}.html".format(mp)) if mp != DEFAULT_REPORT_PART else os.path.join(MAINDIR, config["analysis_name"], "report.html") for mp in multiparts])