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

Before Change


                        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


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

Frequency: 3

Non-data size: 4

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: catalyst-team/catalyst
Commit Name: df7332c3ba49e782f14414639e537f37a19133a8
Time: 2019-05-13
Author: vvelicodnii@snapchat.com
File Name: catalyst/utils/plotly.py
Class Name:
Method Name: get_tensorboard_scalars


Project Name: chainer/chainercv
Commit Name: 3309415b660635c6efbc66e2c1e274127be4dff9
Time: 2017-06-27
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/vgg/vgg16.py
Class Name: VGG16
Method Name: __init__