d81ee18bd7d43479784116c40c9b08eb6bb36cc9,data_handler.py,data_processor,validate_prepro,#data_processor#,185

Before Change


			else:
				prepro_vals["bin_range"] = int(prepro_vals["bin_range"])

		if(os.path.isfile(self.folders_for_data["old"]+"/"+prepro_vals["original_file"]) == False):
			error = "File does not exist or is not in "+self.folders_for_data["old"]+" folder"

		if(prepro_vals["target_type"] == "--select--"):

After Change


      else:
        prepro_vals["bin_range"] = int(prepro_vals["bin_range"])

    if not os.path.isfile(self.folders_for_data["old"] + "/" +
                          prepro_vals["original_file"]):
      error = "File does not exist or is not in " + self.folders_for_data[
          "old"] + " folder"

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: data_handler.py
Class Name: data_processor
Method Name: validate_prepro


Project Name: Esri/raster-functions
Commit Name: 164b392ce45a1baa7523212c451fa3d20cb06450
Time: 2015-05-21
Author: akferoz@esri.com
File Name: setup.py
Class Name:
Method Name: main


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: check_all_fields_valid