29db516a79944c88078cc31bad09b20ffecdb4f9,tests/examples/collect_examples.py,,add_examples,#Any#Any#Any#Any#Any#Any#Any#Any#,179
Before Change
return self.pixels != 0
def add_examples(list_of_examples, path, examples_dir, example_type=None, slow=None, skip=None, no_js=None, no_diff=None):
if path == "*":
example_path = examples_dir
else:
example_path = join(examples_dir, path)
for name in sorted(os.listdir(example_path)):
flags = 0
orig_name = name
After Change
if path.endswith("*"):
star_path = join(examples_dir, path[:-1])
for name in sorted(os.listdir(star_path)):
if isdir(join(star_path, name)):
add_examples(list_of_examples, join(path[:-1], name), examples_dir, example_type, slow, skip, no_js, no_diff)
return
example_path = join(examples_dir, path)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: bokeh/bokeh
Commit Name: 29db516a79944c88078cc31bad09b20ffecdb4f9
Time: 2018-04-06
Author: mattpap@gmail.com
File Name: tests/examples/collect_examples.py
Class Name:
Method Name: add_examples
Project Name: ANTsX/ANTsPy
Commit Name: 8f22750dbdac281232241c20736018c47a7a8e26
Time: 2017-09-07
Author: ncullen.th@dartmouth.edu
File Name: ants/utils/get_ants_data.py
Class Name:
Method Name: get_ants_data
Project Name: nilmtk/nilmtk
Commit Name: 03d22bbb0177117498b3021e068611c6b9421e15
Time: 2014-07-21
Author: oliparson@gmail.com
File Name: nilmtk/dataset_converters/wikienergy/download_wikienergy.py
Class Name:
Method Name: download_wikienergy