3eea3791dc36fbfc521b45b9eebd854c73908b62,dataPrepScripts/GetTruth.py,,OutputVariant,#Any#,4

Before Change


    var_fp = open(var_fn, "w")

    with open(vcf_fn, "r") as vcf_fp:
        for row in vcf_fp.readlines():
            row = row.strip().split()
            if row[0][0] == "//":
                continue

After Change


        p1 = int(p1)
        p2 = int(p2)
        p1, p2 = (p1, p2) if p1 < p2 else (p2, p1)
        var_fp.stdin.write(" ".join([row[0], row[1], row[3], row[4], str(p1), str(p2), "\n"]))
    var_fp.stdin.close()
    var_fp.wait()
    vcf_fp.stdout.close()
    vcf_fp.wait()
    var_fpo.close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: aquaskyline/Clairvoyante
Commit Name: 3eea3791dc36fbfc521b45b9eebd854c73908b62
Time: 2017-09-13
Author: aquaskyline@gmail.com
File Name: dataPrepScripts/GetTruth.py
Class Name:
Method Name: OutputVariant


Project Name: aquaskyline/Clairvoyante
Commit Name: 3eea3791dc36fbfc521b45b9eebd854c73908b62
Time: 2017-09-13
Author: aquaskyline@gmail.com
File Name: dataPrepScripts/CreateTensor.py
Class Name:
Method Name: OutputAlnTensor


Project Name: mynlp/ccg2lambda
Commit Name: b5c5ee14adc3d343ceb1f7510027b8965e1f9af4
Time: 2017-05-31
Author: pascual@nii.ac.jp
File Name: scripts/semantic_tools.py
Class Name:
Method Name: prove_statements