Skip to content

Commit 6b57949

Browse files
committed
ENH: Add exists=True for out_label_fusion output file
The required output file must exist to be a valid completion of AntsJointFusion, so add this check to the file.
1 parent eedee39 commit 6b57949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ class AntsJointFusionInputSpec(ANTSCommandInputSpec):
940940

941941

942942
class AntsJointFusionOutputSpec(TraitedSpec):
943-
out_label_fusion = File()
943+
out_label_fusion = File(exists=True)
944944
out_intensity_fusion_name_format = traits.Str()
945945
out_label_post_prob_name_format = traits.Str()
946946
out_atlas_voting_weight_name_format = traits.Str()

0 commit comments

Comments
 (0)