Skip to content

Commit

Permalink
FIX: Make ants.LaplacianThickness output_image a string, not file
Browse files Browse the repository at this point in the history
Closes gh-3390
  • Loading branch information
effigies committed Oct 18, 2021
1 parent 071e575 commit 93d6c3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nipype/interfaces/ants/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class LaplacianThicknessInputSpec(ANTSCommandInputSpec):
desc="gray matter segmentation image",
position=2,
)
output_image = File(
output_image = traits.Str(
desc="name of output file",
argstr="%s",
position=3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def test_LaplacianThickness_inputs():
),
output_image=dict(
argstr="%s",
extensions=None,
hash_files=False,
keep_extension=True,
name_source=["input_wm"],
Expand Down

0 comments on commit 93d6c3b

Please sign in to comment.