Skip to content

Commit 515ea22

Browse files
author
bpinsard
committed
allow similarity computation without mask
1 parent 40a9404 commit 515ea22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/nipy/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class SimilarityInputSpec(BaseInterfaceInputSpec):
2828

2929
volume1 = File(exists=True, desc="3D volume", mandatory=True)
3030
volume2 = File(exists=True, desc="3D volume", mandatory=True)
31-
mask1 = File(exists=True, desc="3D volume", mandatory=True)
32-
mask2 = File(exists=True, desc="3D volume", mandatory=True)
31+
mask1 = File(exists=True, desc="3D volume")
32+
mask2 = File(exists=True, desc="3D volume")
3333
metric = traits.Either(traits.Enum('cc', 'cr', 'crl1', 'mi', 'nmi', 'slr'),
3434
traits.Callable(),
3535
desc="""str or callable
@@ -98,4 +98,4 @@ def _run_interface(self, runtime):
9898
def _list_outputs(self):
9999
outputs = self._outputs().get()
100100
outputs['similarity'] = self._similarity
101-
return outputs
101+
return outputs

0 commit comments

Comments
 (0)