Skip to content

FreeSurferSource doesn't check subjects_dir #2116

Closed
@djarecka

Description

@djarecka

Summary

FreeSurferSource doesn't check subjects_dir is an existing path.

How to replicate the behavior

from nipype.interfaces.io import FreeSurferSource
fs = FreeSurferSource()
fs.inputs.subjects_dir = 'path/to/no/existing/directory'
fs.inputs.subject_id = 'sub-01'
res = fs.run()

Actual behavior

Doesn't give an error.

Expected behavior

Should check if directory exists (and possibly if there are files for subject_id ?).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions