Skip to content

Commit 370cdbf

Browse files
committed
Fix: input_spec and output_spec were not set
Fixed bug in surface-to-surface distance computation.
1 parent da310d9 commit 370cdbf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/algorithms/mesh.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ class P2PDistance(BaseInterface):
6060
>>> res = dist.run() # doctest: +SKIP
6161
"""
6262

63+
input_spec = P2PDistanceInputSpec
64+
output_spec = P2PDistanceOutputSpec
65+
6366
def _run_interface(self, runtime):
6467
r1 = tvtk.PolyDataReader( file_name=self.inputs.surface1 )
6568
r2 = tvtk.PolyDataReader( file_name=self.inputs.surface2 )

0 commit comments

Comments
 (0)