Skip to content

Commit 520f2d5

Browse files
authored
FIX: Verify first word of _cmd in dependency check
Fixes #1235.
1 parent 6997af1 commit 520f2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def check_deps(workflow):
3737
(node.interface.__class__.__name__, node.interface._cmd)
3838
for node in workflow._get_all_nodes()
3939
if (hasattr(node.interface, '_cmd') and
40-
which(node.interface._cmd) is None))
40+
which(node.interface._cmd.split()[0]) is None))
4141

4242

4343
def get_parser():

0 commit comments

Comments
 (0)