We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f1b93 commit 9c2d674Copy full SHA for 9c2d674
tests/test_heuristics.py
@@ -11,7 +11,10 @@
11
12
import pytest
13
14
-from datalad.api import Dataset
+try:
15
+ from datalad.api import Dataset
16
+except ImportError:
17
+ Dataset = None
18
19
20
def test_smoke_converall(tmpdir):
@@ -28,6 +31,7 @@ def test_smoke_converall(tmpdir):
28
31
"-d tests/data/{subject}/* -s 01-fmap_acq-3mm" # "old" way specifying subject
29
32
# should produce the same results
30
33
])
34
+@pytest.mark.skipif(Dataset is None, reason="no datalad")
35
def test_dbic_bids_largely_smoke(tmpdir, heuristic, invocation):
36
is_bids = True if heuristic == 'dbic_bids' else False
37
arg = "-f heuristics/%s.py -c dcm2niix -o %s" % (heuristic, tmpdir)
0 commit comments