Skip to content

Commit

Permalink
fix rebase mess
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed May 15, 2024
1 parent 6d3d3e4 commit a4d7e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions niworkflows/interfaces/gradunwarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
SimpleInterface
)

has_gradunwarp = False
try:
import gradunwarp
has_gradunwarp = True
except ImportError:
pass

class _GradUnwarpInputSpec(TraitedSpec):
infile = File(exists=True, mandatory=True, desc="input image to be corrected")
Expand Down
4 changes: 0 additions & 4 deletions niworkflows/interfaces/tests/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,7 @@ def test_DerivativesDataSink_build_path(
**entities,
)

<<<<<<< HEAD
if isinstance(expectation, type):
=======
if type(expectation) is type(Exception):
>>>>>>> 601d1d1f (fix flake8 tests)
with pytest.raises(expectation):
dds.run()
return
Expand Down

0 comments on commit a4d7e3b

Please sign in to comment.