Do people actually use the freesurfer subjects_dir for their experiments? I did not consider that possibility, as we always create a separate mri folder with all mri subjects for a particular experiment. So if subjects_dir is the freesurfer dir, should I modify the freesurfer fsaverage or raise an error?


On Mar 31, 2013, at 20:47, "Denis A. Engemann" <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)
> 
> 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.
> …
> —
> Reply to this email directly or view it on GitHub.
>