d81ee18bd7d43479784116c40c9b08eb6bb36cc9,user_interface_handler.py,user_interface,map_to_int_if_valid,#user_interface#,472
Before Change
return valid_str_entry
def map_to_int_if_valid(self,string):
if(self.check_str_list_valid(string)==False):
result = False
elif string == "":
result = []
else:
After Change
return valid_str_entry
def map_to_int_if_valid(self, string):
if not self.check_str_list_valid(string):
result = False
elif string == "":
result = []
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: user_interface_handler.py
Class Name: user_interface
Method Name: map_to_int_if_valid
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: render_nn_vis_trigger
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