Skip to content

Commit 68f28c6

Browse files
authored
Merge pull request #395 from dbic/bf-slurm
BF: fix check for the sbatch (SLURM) not being available
2 parents d55a553 + db7a3cf commit 68f28c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/tests/test_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .utils import TESTS_DATA_PATH
88
import pytest
99

10-
@pytest.mark.skipif(which("sbatch"), reason="skip a real slurm call")
10+
@pytest.mark.skipif(bool(which("sbatch")), reason="skip a real slurm call")
1111
@pytest.mark.parametrize(
1212
'invocation', [
1313
"--files %s/01-fmap_acq-3mm" % TESTS_DATA_PATH, # our new way with automated groupping

0 commit comments

Comments
 (0)