Skip to content

Split over-eager globs in FreeSurferSource #1894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 22, 2017
Merged

Conversation

effigies
Copy link
Member

If you don't specify hemi, FreeSurferSource matches *white and *pial for white matter / pial surfaces, which picks up ?h.jacobian_white for white and ?h.{area,curv}.pial for pial.

This restricts the glob prefix for hemi='both' to ?h., and adds jacobian_white, area_pial and curv_pial entries, which is almost certainly more useful to somebody trying to access any of these entities.

inflated = OutputMultiPath(
File(exists=True), desc='Inflated surface meshes',
loc='surf')
pial = OutputMultiPath(
File(exists=True), desc='Gray matter/pia mater surface meshes',
File(exists=True), desc='Gray matter/pia matter surface meshes',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (along with lines 1524 and 1527) should stay as pia mater, the name for the innermost membrane surrounding the brain

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks. Fixed. And hopefully gave reasonable descriptions for the other two.

@satra satra merged commit c6d24b8 into nipy:master Mar 22, 2017
@effigies effigies deleted the fssource_refine branch March 22, 2017 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants