Skip to content

Commit

Permalink
FIX: Verify first word of _cmd in dependency check
Browse files Browse the repository at this point in the history
Fixes #1235.
  • Loading branch information
effigies authored Aug 6, 2018
1 parent 6997af1 commit 520f2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def check_deps(workflow):
(node.interface.__class__.__name__, node.interface._cmd)
for node in workflow._get_all_nodes()
if (hasattr(node.interface, '_cmd') and
which(node.interface._cmd) is None))
which(node.interface._cmd.split()[0]) is None))


def get_parser():
Expand Down

0 comments on commit 520f2d5

Please sign in to comment.