d81ee18bd7d43479784116c40c9b08eb6bb36cc9,user_interface_handler.py,user_interface,check_str_list_valid,#user_interface#,463
Before Change
def check_str_list_valid(self,string):
valid_str_entry = True
for char in string:
if(char!="," and char.isdigit()==False):
valid_str_entry = False
break
return valid_str_entry
After Change
def check_str_list_valid(self, string):
valid_str_entry = True
for char in string:
if char != "," and not char.isdigit():
valid_str_entry = False
break
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 4
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: check_str_list_valid
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: find_alpha_classes
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
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