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 6d3d3e4 commit a4d7e3bCopy full SHA for a4d7e3b
niworkflows/interfaces/gradunwarp.py
@@ -29,6 +29,12 @@
29
SimpleInterface
30
)
31
32
+has_gradunwarp = False
33
+try:
34
+ import gradunwarp
35
+ has_gradunwarp = True
36
+except ImportError:
37
+ pass
38
39
class _GradUnwarpInputSpec(TraitedSpec):
40
infile = File(exists=True, mandatory=True, desc="input image to be corrected")
niworkflows/interfaces/tests/test_bids.py
@@ -300,11 +300,7 @@ def test_DerivativesDataSink_build_path(
300
**entities,
301
302
303
-<<<<<<< HEAD
304
if isinstance(expectation, type):
305
-=======
306
- if type(expectation) is type(Exception):
307
->>>>>>> 601d1d1f (fix flake8 tests)
308
with pytest.raises(expectation):
309
dds.run()
310
return
0 commit comments