for zfile in zips:
zf = zipfile.ZipFile(zfile)
// local testing files
sample = os.path.basename(zfile).partition("_")[0]
// relative path from snakemake
// sample = zfile.partition(os.path.sep)[0]
if "se/boxplot_quality.txt" in zf.namelist():
After Change
for zfile in zips:
zf = zipfile.ZipFile(zfile)
// local testing files
sample = zfile.split("/")[0] // HACK: sample name is first name of path
// relative path from snakemake
// sample = zfile.partition(os.path.sep)[0]
if "se/boxplot_quality.txt" in zf.namelist():