c585a9779e5d8ae0b0b148792f8a7f8cecf73532,tools/make_examples.py,,,#,50

Before Change


    raise OSError("This must be run from the doc directory")

// Copy the py files; check they are in the examples list and warn if not
eg_index_contents = open(EG_INDEX_FNAME, "rt").read()

// Here I am adding an extra step. The list of examples to be executed need
// also to be added in the following file (valid_examples.txt). This helps
// with debugging the examples and the documentation only a few examples at

After Change


    raise OSError("This must be run from the doc directory")

// Copy the py files; check they are in the examples list and warn if not
with io.open(EG_INDEX_FNAME, "rt", encoding="utf8") as f:
    eg_index_contents = f.read()

// Here I am adding an extra step. The list of examples to be executed need
// also to be added in the following file (valid_examples.txt). This helps
// with debugging the examples and the documentation only a few examples at
// the time.
flist_name = op.join(op.dirname(os.getcwd()), "examples",
                     "valid_examples.txt")

with io.open(flist_name, "r", encoding="utf8") as flist:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: nipy/dipy
Commit Name: c585a9779e5d8ae0b0b148792f8a7f8cecf73532
Time: 2019-02-12
Author: skab12@gmail.com
File Name: tools/make_examples.py
Class Name:
Method Name:


Project Name: google/language-resources
Commit Name: d27dc7e0e3f76b021e5cff2d63466c415d4b3f74
Time: 2017-11-12
Author: mjansche@google.com
File Name: utils/icu_util.py
Class Name:
Method Name: LoadTransliterationRules


Project Name: CyberZHG/keras-bert
Commit Name: 5647a8917d340d44d90b952be682678ba33d33a7
Time: 2019-01-27
Author: CyberZHG@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: kk7nc/RMDL
Commit Name: 292510232cd2f32d498c032488c38215af4a1601
Time: 2018-04-19
Author: kk7nc@virginia.edu
File Name: setup.py
Class Name:
Method Name: readfile