Skip to content

Commit a4d7e3b

Browse files
committed
fix rebase mess
1 parent 6d3d3e4 commit a4d7e3b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

niworkflows/interfaces/gradunwarp.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
SimpleInterface
3030
)
3131

32+
has_gradunwarp = False
33+
try:
34+
import gradunwarp
35+
has_gradunwarp = True
36+
except ImportError:
37+
pass
3238

3339
class _GradUnwarpInputSpec(TraitedSpec):
3440
infile = File(exists=True, mandatory=True, desc="input image to be corrected")

niworkflows/interfaces/tests/test_bids.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,7 @@ def test_DerivativesDataSink_build_path(
300300
**entities,
301301
)
302302

303-
<<<<<<< HEAD
304303
if isinstance(expectation, type):
305-
=======
306-
if type(expectation) is type(Exception):
307-
>>>>>>> 601d1d1f (fix flake8 tests)
308304
with pytest.raises(expectation):
309305
dds.run()
310306
return

0 commit comments

Comments
 (0)