453269872f7e4dc9a6dc81a1c758ffc365cfc312,utilities/constraints_classes.py,ConstraintSearch,create_list_from_constraint,#ConstraintSearch#,134

Before Change


                    if c not in filename:
                        flag_possible = False
                        break
                for n in self.list_not_contain:
                    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))

After Change


                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))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: streamlit/streamlit
Commit Name: e0e9d7350826c7d968e48181cea38bde23942c30
Time: 2019-06-19
Author: tconkling@gmail.com
File Name: lib/streamlit/Server.py
Class Name: Server
Method Name: loop_coroutine


Project Name: hanxiao/bert-as-service
Commit Name: ed8568e1604e66dc6154f860872043a239e6c0db
Time: 2018-11-08
Author: hanhxiao@tencent.com
File Name: extract_features.py
Class Name:
Method Name: read_examples