a89243ff7c4182e10007f2889ceb543d9f26640b,lingpy/read/phylip.py,,read_dst,#Any#,14

Before Change



    
    
    try:
        f = open(filename)
    except:
        f = filename.split("\n") // XXX temporary solution
        //print("[!] Could not find the file {0}!".format(filename))

    taxa,matrix = [],[]
    
    
    for i,line in enumerate(f):

After Change


        A tuple consisting of a list of taxa and a matrix.

    
    if os.path.isfile(filename):
        f = open(filename)
        f = open(filename)
    else:
        f = filename.split("\n") // XXX temporary solution
        //print("[!] Could not find the file {0}!".format(filename))

    taxa,matrix = [],[]
    
    
    for i,line in enumerate(f):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: lingpy/lingpy
Commit Name: a89243ff7c4182e10007f2889ceb543d9f26640b
Time: 2013-07-01
Author: mattis.list@posteo.de
File Name: lingpy/read/phylip.py
Class Name:
Method Name: read_dst


Project Name: lingpy/lingpy
Commit Name: 58ab225e313cde281696aca8bdfaff26695d879a
Time: 2013-07-17
Author: mattis.list@posteo.de
File Name: lingpy/data/model.py
Class Name: Model
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: 689a05c6590aa7ddd0dcb6cbfd83d9c7fc152adc
Time: 2015-03-05
Author: mateorod9@gmail.com
File Name: src/python/pants/backend/android/distribution/android_distribution.py
Class Name: AndroidDistribution
Method Name: register_android_tool