:) :) :)


On Sun, Sep 8, 2013 at 11:54 PM, Christian Brodbeck <
notifications@github.com> wrote:

> In mne/transforms/tests/test_coreg.py:
>
> >
> > -from mne.transforms.coreg import fit_matched_pts
> > -from mne.transforms.transforms import apply_trans, rotation, translation
> > +    # cerate source space
> > +    cmd = ['mne_setup_source_space', '--subject', 'fsaverage', '--ico', '6']
> > +    env = os.environ.copy()
> > +    env['SUBJECTS_DIR'] = tempdir
> > +    run_subprocess(cmd, env=env)
> > +#     raise ValueError(str(os.listdir(os.
> path.join(tempdir, 'fsaverage'))))
> > +
> > +    # scale fsaverage
> > +    scale_mri('fsaverage', 'kleinkopf', .8, True, subjects_dir=tempdir)
>
> Thanks :)
> … <#140ff91d7ac6e919_>
> On Sep 8, 2013, at 9:33, Martin Luessi <notifications@github.com> wrote:
> In mne/transforms/tests/test_coreg.py: > > -from mne.transforms.coreg
> import fit_matched_pts > -from mne.transforms.transforms import
> apply_trans, rotation, translation > + # cerate source space > + cmd =
> ['mne_setup_source_space', '--subject', 'fsaverage', '--ico', '6'] > + env
> = os.environ.copy() > + env['SUBJECTS_DIR'] = tempdir > +
> run_subprocess(cmd, env=env) > +# raise
> ValueError(str(os.listdir(os.path.join(tempdir, 'fsaverage')))) > + > + #
> scale fsaverage > + scale_mri('fsaverage', 'kleinkopf', .8, True,
> subjects_dir=tempdir) I like you subject names used in the tests ;) — Reply
> to this email directly or view it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/750/files#r6228858>
> .
>