1fbdde07195e233f4007e42a84edb2be0d56bec5,deeplabcut/generate_training_dataset/labeling_toolbox.py,MainFrame,saveDataSet,#MainFrame#Any#,897

Before Change


        // Remove previous save
        csv_path = os.path.join(self.dir, "CollectedData_" + self.scorer + ".csv") 
        if os.path.exists( csv_path):
        	os.remove( csv_path)

        hdf_path = os.path.join(self.dir, "CollectedData_" + self.scorer + ".h5")
        if os.path.exists( hdf_path):
        	os.remove( hdf_path)

After Change


        // Backup previous save
        csv_path = os.path.join(self.dir, "CollectedData_" + self.scorer + ".csv") 
        if os.path.exists( csv_path):
        	os.rename( csv_path, csv_path.replace(".csv",".csv.backup"))

        hdf_path = os.path.join(self.dir, "CollectedData_" + self.scorer + ".h5")
        if os.path.exists( hdf_path):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 1fbdde07195e233f4007e42a84edb2be0d56bec5
Time: 2020-08-29
Author: anand13394@gmail.com
File Name: deeplabcut/generate_training_dataset/labeling_toolbox.py
Class Name: MainFrame
Method Name: saveDataSet


Project Name: hyperspy/hyperspy
Commit Name: 527a17bdda2956928507057adcf9c139c34cb498
Time: 2016-07-18
Author: eric.prestat@gmail.com
File Name: hyperspy/io_plugins/protochips.py
Class Name: ProtochipsCSV
Method Name: _read_data


Project Name: PyThaiNLP/pythainlp
Commit Name: b9c7f1ce73d7d0971a430b3b1b0fa4a2850e4435
Time: 2017-08-22
Author: wannaphong@yahoo.com
File Name: pythainlp/tokenize/pyicu.py
Class Name:
Method Name: segment