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