Ok I think I'm working myself forward. I think what would be nice to add
some pointer that SUBJECTS_DIR should not be the default FreeSurfer
SUBJECTS_DIR.


On Mon, Apr 1, 2013 at 2:42 AM, Christian Brodbeck <notifications@github.com
> wrote:

> In mne/transforms/coreg.py:
>
> > +                   "create_default_subject().")
> > +            raise ValueError(err)
> > +    if mne_root is None:
> > +        mne_root = get_config('MNE_ROOT', mne_root)
> > +        if mne_root is None:
> > +            err = ("MNE_ROOT environment variable not found. Please "
> > +                   "specify the mne_root parameter in you call to "
> > +                   "create_default_subject().")
> > +            raise ValueError(err)
> > +
> > +    # make sure destination does not already exist
> > +    dest = os.path.join(subjects_dir, 'fsaverage')
> > +    if os.path.exists(dest):
> > +        err = ("Can not create fsaverage because %r already exists in "
> > +               "subjects_dir %r" % ('fsaverage', subjects_dir))
> > +        raise IOError(err)
>
>  is everything fine if the directory already exists, presumably not?
>
> We don't know for sure because we don't know exactly which files there
> are, so it's safer to raise an error.
>
> The error message sounds like the directory is overwritten.
>
> Well that's what would happen if it were not for the error
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/379/files#r3597591>
> .
>