Skip to content

Commit 55fef77

Browse files
authored
Merge pull request #1236 from poldracklab/fix/dependency_check
FIX: Verify first word of _cmd in dependency check
2 parents 6997af1 + 520f2d5 commit 55fef77

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)