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
// Copy the available mri/flash/mef*.mgz files from the dataset
flash_path = op.join(mridata_path_new, "flash")
for kind in (5, 30):
in_fname = op.join(mridata_path, "flash", "mef%02d.mgz" % kind)
shutil.copyfile(in_fname, op.join(flash_path, op.basename(in_fname)))
// Test mne flash_bem with --noconvert option
// (since there are no DICOM Flash images in dataset)
out_fnames = list()