d37577ab61980311ee479e010c10294323d37e2a,pliers/updater.py,,check_updates,#,10

Before Change


            if label != "time_extracted":
                old_value = last.get(label)
                if (old_value is not None) and (old_value != value.values[0]):
                    assert 0
                    mismatches.append(label)

        return mismatches

After Change


        new_data = prior_data.append(results)
        new_data.to_csv(datastore, index=False)

    extractors = set([m.split(".")[0] for m in mismatches])

    return {"changed_extractors" : extractors, "mismatches" : mismatches}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tyarkoni/pliers
Commit Name: d37577ab61980311ee479e010c10294323d37e2a
Time: 2017-11-02
Author: delavega@utexas.edu
File Name: pliers/updater.py
Class Name:
Method Name: check_updates


Project Name: commonsense/conceptnet5
Commit Name: 79d149dd39dc7e7d22c623c0a4a4d3ab99e61c76
Time: 2017-06-15
Author: joanna.teresa.duda@gmail.com
File Name: conceptnet5/vectors/transforms.py
Class Name:
Method Name: choose_small_vocabulary


Project Name: nilearn/nilearn
Commit Name: db2c1827e4aa2508e72b8e50999a4da04fd5a515
Time: 2018-10-14
Author: kc.insight.pi@gmail.com
File Name: nilearn/plotting/tests/test_html_stat_map.py
Class Name:
Method Name: test_view_stat_map