8dc6485155f3571325a9f1cde3299cd2288ecf8e,mne/commands/tests/test_commands.py,,test_flash_bem,#,234

Before Change


                                        op.basename(infile)))
    // Test mne flash_bem with --noconvert option
    // (since there are no DICOM Flash images in dataset)
    currdir = os.getcwd()
    with ArgvSetter(("-d", tempdir, "-s", "sample", "-n"),
                    disable_stdout=False, disable_stderr=False):
        mne_flash_bem.run()
    os.chdir(currdir)

After Change


    out_fnames = list()
    for kind in ("outer_skin", "outer_skull", "inner_skull"):
        out_fnames.append(op.join(subject_path_new, "bem", "outer_skin.surf"))
    assert not any(op.isfile(out_fname) for out_fname in out_fnames)
    with ArgvSetter(("-d", tempdir, "-s", "sample", "-n"),
                    disable_stdout=False, disable_stderr=False):
        mne_flash_bem.run()
    // do they exist and are expected size
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 8dc6485155f3571325a9f1cde3299cd2288ecf8e
Time: 2018-12-01
Author: larson.eric.d@gmail.com
File Name: mne/commands/tests/test_commands.py
Class Name:
Method Name: test_flash_bem


Project Name: RasaHQ/rasa
Commit Name: c0e2c0fba6a09c6db141a9959951dfd988e09070
Time: 2019-07-06
Author: ranamostafamohsen96@yahoo.com
File Name: tests/cli/test_rasa_train.py
Class Name:
Method Name: test_train_no_domain_exists


Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_abstract_evaluator.py
Class Name: AbstractEvaluatorTest
Method Name: test_finish_up_model_predicts_NaN