Skip to content

Commit 559c8a1

Browse files
committed
fix rebase mess
1 parent 6d3d3e4 commit 559c8a1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

niworkflows/interfaces/gradunwarp.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
SimpleInterface
3030
)
3131

32+
has_gradunwarp = False
33+
try:
34+
import gradunwrap
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

-4
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

niworkflows/testing.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ def wrapper(*args, **kwargs):
4242
has_fsl = fsl.Info.version() is not None
4343
has_freesurfer = fs.Info.version() is not None
4444
has_afni = afni.Info.version() is not None
45-
has_gradunwarp = gradunwarp.has_gradunwarp

0 commit comments

Comments
 (0)