4a1b03b285c50a56c606a92b47b311f17157f55e,atlas/report/qc_report.py,,get_stats_from_zips,#Any#,20

Before Change


    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():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: metagenome-atlas/atlas
Commit Name: 4a1b03b285c50a56c606a92b47b311f17157f55e
Time: 2018-06-01
Author: SilasK@users.noreply.github.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_stats_from_zips


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 225d31587eeb9aca226158e346c8e9730777913c
Time: 2017-02-24
Author: nlavine@google.com
File Name: perfkitbenchmarker/publisher.py
Class Name:
Method Name: RepublishJSONSamples


Project Name: metagenome-atlas/atlas
Commit Name: dd6190e78c5e8ac449c2b899045b6666dcd1fb3f
Time: 2018-05-25
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_stats_from_zips