32234b97cd894b0849f5d151601ea4051cd1b123,pynets/core/utils.py,,collect_pandas_df_make,#Any#Any#Any#Any#,912

Before Change


    if len(net_mets_csv_list) > 1:
        print("%s%s%s" % ("\n\nList of result files to concatenate:\n", str(net_mets_csv_list), "\n\n"))
        subject_path = op.dirname(op.dirname(net_mets_csv_list[0]))
        name_of_network_pickle = "%s%s" % ("net_mets_", net_mets_csv_list[0].split("_0.")[0].split("net_mets_")[1])
        net_mets_csv_list.sort()

        models = []
        for file_ in net_mets_csv_list:

After Change


                                                   np.array(df_summary_nonan["thr"]).astype("float64"))
            meta[thr_set]["auc_dataframe"] = df_summary_auc

            auc_outfile = auc_dir + list(set([re.sub(r"thr\-\d+\.*\d+", "", i).replace("neat", "auc") for i in models_grouped[thr_set]]))[0]
            df.to_csv(auc_outfile, index=False)

        try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dPys/PyNets
Commit Name: 32234b97cd894b0849f5d151601ea4051cd1b123
Time: 2019-10-12
Author: dpisner@utexas.edu
File Name: pynets/core/utils.py
Class Name:
Method Name: collect_pandas_df_make


Project Name: merenlab/anvio
Commit Name: e3fbb275fd3238cd87eb124635b3a431dab1af29
Time: 2019-08-16
Author: quentin.clayssen@gmail.com
File Name: anvio/scgsdatabase.py
Class Name: SCGsDataBase
Method Name: do_taxonomy_dictonnrary_with_tsv


Project Name: dmlc/gluon-nlp
Commit Name: 8880acf0899efee237251cbd01c7ff81fc535789
Time: 2018-06-22
Author: szhengac@users.noreply.github.com
File Name: scripts/nmt/bleu.py
Class Name:
Method Name: _split_compound_word


Project Name: nltk/nltk
Commit Name: 5e233859c5fef3c6c5059fe0f8e201b9f67b4e67
Time: 2019-05-07
Author: alvations@gmail.com
File Name: nltk/corpus/reader/wordnet.py
Class Name: WordNetCorpusReader
Method Name: _synset_from_pos_and_line