57f6ca67c75252a6a5ec9114f6415813aeef5d5a,mvpa/__init__.py,,,#,41

Before Change


    debug("INIT", "mvpa")

if os.environ.has_key("MVPA_SEED"):
    __random_seed = int(os.environ["MVPA_SEED"])
else:
    __random_seed = int(N.random.uniform()*(2**31-1))

After Change


    debug("INIT", "mvpa")

// read all configuration settings
cfg = Config()

if cfg.has_option("general", "seed"):
    __random_seed = cfg.getint("general", "seed")
else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 57f6ca67c75252a6a5ec9114f6415813aeef5d5a
Time: 2008-06-22
Author: michael.hanke@gmail.com
File Name: mvpa/__init__.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: 97d63c8fd17e58795edaaf0993bc72d5d31ed45a
Time: 2017-02-06
Author: mikkel@255bits.com
File Name: hypergan/graph/graph.py
Class Name: Graph
Method Name: create


Project Name: kbardool/keras-frcnn
Commit Name: e6ef9ce325b97a3f3533824537a35d81e7ef51bf
Time: 2017-01-30
Author: yannhenon@gmail.com
File Name: train_frcnn.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: 9a221ae50830159492ba6846f9680f2cfff8c552
Time: 2017-02-07
Author: mikkel@255bits.com
File Name: hypergan/gan.py
Class Name: GAN
Method Name: train


Project Name: streamlit/streamlit
Commit Name: da3894b5ae20d2f2851504e0fed6a946247f733f
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/config.py
Class Name:
Method Name: get_option