Skip to content

Commit

Permalink
Merge pull request #3393 from effigies/fix/output_str
Browse files Browse the repository at this point in the history
FIX: Make ants.LaplacianThickness output_image a string, not file
  • Loading branch information
effigies authored Oct 18, 2021
2 parents 071e575 + 93d6c3b commit bb3c312
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 bb3c312

Please sign in to comment.