dfsp-spirit / fsbrain

R library for structural neuroimaging. Provides high-level functions to access (read and write) and visualize surface-based brain morphometry data for individuals and groups.
Other
65 stars 13 forks source link

fsaverage.path() should prefer FreeSurfer version over local download #11

Closed dfsp-spirit closed 4 years ago

dfsp-spirit commented 4 years ago

fsaverage.path() should prefer FreeSurfer version over local download

Example: run fsaverage.path() on a system that has a copy of fsaverage in a (discoverable) FreeSurfer installation, and in the package cache.

Expected result: the path to $FREESURFER_HOME/subjects/ is returned.

Result: the path to the version in the package cache is returned

fsbrain version used: 0.3.0, 0.3.1-dev

dfsp-spirit commented 4 years ago

6990c27 fixes this