f20172b9a76430696ab061695fd9d92ffad4fd85,lingpy/convert/gml.py,,gls2gml,#Any#Any#Any#Any#,19

Before Change


        g.add_edge(edgeA,edgeB,**data)

    nx.write_gml(g,filename+".gml")
    print("[i] Data has been written to file <{0}.gml>.".format(filename))
    
    return

def nwk2gml(

After Change


        //if "label" not in data:
        g.add_edge(edgeA,edgeB,**data)
    
    f = open(filename+".gml","w")
    for line in nx.generate_gml(g):
        f.write(line+"\n")
    f.close()

    FileWriteMessage(filename,"gml").message("written")
    
    return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: lingpy/lingpy
Commit Name: f20172b9a76430696ab061695fd9d92ffad4fd85
Time: 2013-01-25
Author: mattis.list@posteo.de
File Name: lingpy/convert/gml.py
Class Name:
Method Name: gls2gml


Project Name: lingpy/lingpy
Commit Name: f20172b9a76430696ab061695fd9d92ffad4fd85
Time: 2013-01-25
Author: mattis.list@posteo.de
File Name: lingpy/convert/gml.py
Class Name:
Method Name: nwk2gml


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 7e4f1f5aa62d962629adb53bea7c58c9070261c1
Time: 2016-11-25
Author: cuducos@gmail.com
File Name: src/fetch_sex_places.py
Class Name:
Method Name:


Project Name: commonsense/conceptnet5
Commit Name: 804372af52b6a343e3b2c7ae6a838fe5f02f546a
Time: 2016-06-23
Author: rob@luminoso.com
File Name: conceptnet5/readers/wordnet.py
Class Name:
Method Name: run_wordnet