532579640a8a90557a49ffeb665e5e1fb467215f,lingpy/basic/tree.py,Tree,__init__,#Tree#,98

Before Change


        // lingpy-specific aspects of cogent"s trees and allows us to include
        // them in our documentation
        if type(tree) == str:
            if tree[-4:] not in [".nwk", ".txt"]:
                tmp = LoadTree(treestring=tree)
            else:
                tmp = LoadTree(tree)

After Change


        // lingpy-specific aspects of cogent"s trees and allows us to include
        // them in our documentation
        if type(tree) == str:
            if not os.path.isfile(tree):
                tmp = LoadTree(treestring=tree)
            else:
                tmp = LoadTree(tree)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: lingpy/lingpy
Commit Name: 532579640a8a90557a49ffeb665e5e1fb467215f
Time: 2017-11-16
Author: simon@simon.net.nz
File Name: lingpy/basic/tree.py
Class Name: Tree
Method Name: __init__


Project Name: Microsoft/MMdnn
Commit Name: fdeeaff5e452e257bf3a3dd76e25c81304cc4c98
Time: 2020-03-15
Author: linmajia@users.noreply.github.com
File Name: mmdnn/conversion/examples/tensorflow/vis_meta.py
Class Name:
Method Name: _main


Project Name: brian-team/brian2
Commit Name: fefe628658fbbca925a35d0fc741b77acee35bad
Time: 2017-10-03
Author: marcel.stimberg@inserm.fr
File Name: brian2/codegen/generators/GSL_generator.py
Class Name:
Method Name: valid_gsl_dir