b8c1fd912f5ac4a6ab659d1f0c0612bd3c136e37,pandastable/rename.py,BatchRenameApp,dopreview,#BatchRenameApp#,171

Before Change


        find=self.findtext.getvalue()
        repl=self.replacetext.getvalue()
        new = doFindReplace(files=flist, find=find, replace=repl)
        for f in zip(flist,new):
            if f[0] != f[1]:
                self.preview.insert(END,f[1])
        return

    def clear(self):

After Change


        self.refresh()
        self.preview.delete("1.0",END)
        flist = self.fileslist.get("1.0",END)
        flist = flist.split("\n")
        find = self.findvar.get()
        repl = self.replacevar.get()
        new = doFindReplace(files=flist, find=find, replace=repl)
        new = "\n".join(new)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: dmnfarrell/pandastable
Commit Name: b8c1fd912f5ac4a6ab659d1f0c0612bd3c136e37
Time: 2015-06-29
Author: farrell.damien@gmail.com
File Name: pandastable/rename.py
Class Name: BatchRenameApp
Method Name: dopreview


Project Name: dpressel/mead-baseline
Commit Name: 4b4946f40ef0f8c533f5473ec3756e639e57e5c5
Time: 2018-09-28
Author: dpressel@gmail.com
File Name: python/baseline/dy/dynety.py
Class Name:
Method Name: show_examples_dynet


Project Name: CellProfiler/CellProfiler
Commit Name: 53059cec9053a8429b7f0a8f06e6cbe1672b60e7
Time: 2013-01-16
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/tests/test_groups.py
Class Name: TestGroups
Method Name: test_02_01_group_on_two


Project Name: MolSSI/QCEngine
Commit Name: 891606213b94ffdc78a20f8e9a955300e076a70c
Time: 2019-04-16
Author: fangliu.ustc@gmail.com
File Name: qcengine/programs/terachem.py
Class Name: TeraChemExecutor
Method Name: build_input