453269872f7e4dc9a6dc81a1c758ffc365cfc312,utilities/constraints_classes.py,ConstraintSearch,create_list_from_constraint,#ConstraintSearch#,134
Before Change
if n in filename:
flag_possible = False
break
if flag_possible:
list_final.append(os.path.join(p, filename))
name_list_final.append(self.list_subjects_potential(
filename))
return list_final, name_list_final
def list_subjects_potential(self, filename):
index_constraint = []
After Change
name_list_final = []
for p in self.list_paths:
for filename in os.listdir(p):
if any(c not in filename for c in self.list_contain):
continue
if any(c in filename for c in self.list_not_contain):
continue
full_file_name = os.path.join(p, filename)
list_final.append(full_file_name)
name_list_final.append(
self.list_subjects_potential(filename))
return list_final, name_list_final
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: NifTK/NiftyNet
Commit Name: 453269872f7e4dc9a6dc81a1c758ffc365cfc312
Time: 2017-05-22
Author: wenqi.li@ucl.ac.uk
File Name: utilities/constraints_classes.py
Class Name: ConstraintSearch
Method Name: create_list_from_constraint
Project Name: pantsbuild/pants
Commit Name: 765fe64b6e96c365aaee4867c5a8381a883c5bc6
Time: 2020-08-16
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/fmt.py
Class Name:
Method Name: fmt
Project Name: NifTK/NiftyNet
Commit Name: 453269872f7e4dc9a6dc81a1c758ffc365cfc312
Time: 2017-05-22
Author: wenqi.li@ucl.ac.uk
File Name: utilities/constraints_classes.py
Class Name: ConstraintSearch
Method Name: create_list_from_constraint
Project Name: tensorflow/transform
Commit Name: f70299886d35a40ed2546e96d15a9d1bc0adcef4
Time: 2017-02-21
Author: no-reply@google.com
File Name: tensorflow_transform/coders/example_proto_coder_test.py
Class Name:
Method Name: