7c876f0c967dca643dc6f61bf5d147274a150d66,tools/make_examples.py,,,#,47

Before Change


    namespace = {}
    figure_basename = os.path.join("fig", os.path.splitext(script)[0])
    print(script)
    exec(open(script).read(), namespace)
    plt.close("all")
    del namespace

if use_xvfb:

After Change


EG_SRC_DIR = op.join(DOC_PATH, "examples")

// Work in examples directory
os.chdir(op.join(DOC_PATH, "examples_built"))

if not os.getcwd().endswith(op.join("doc", "examples_built")):
    raise OSError("This must be run from the doc directory")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: 7c876f0c967dca643dc6f61bf5d147274a150d66
Time: 2017-10-13
Author: arokem@gmail.com
File Name: tools/make_examples.py
Class Name:
Method Name:


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 8e647100ce1e791b87bfd2cf03df51bf7a12a4b1
Time: 2017-06-29
Author: yutiansut@qq.com
File Name: test/tread_queue.py
Class Name:
Method Name:


Project Name: BerkeleyAutomation/gqcnn
Commit Name: 66f8a11ad9236d6bf6a09a5391b07abfa5c4c9b9
Time: 2019-04-12
Author: vsatish@berkeley.edu
File Name: setup.py
Class Name:
Method Name: