Skip to content

Commit 558ca6c

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 7265339 commit 558ca6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/cmtk/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _run_interface(self, runtime):
196196
cda = cf.CData(name=data_name, src=data, fileformat="NumPy")
197197
if 'lengths' in data_name:
198198
cda.dtype = "FinalFiberLengthArray"
199-
if string.find(data_name, 'endpoints') != -1:
199+
if 'endpoints' in data_name:
200200
cda.dtype = "FiberEndpoints"
201201
if string.find(data_name, 'labels') != -1:
202202
cda.dtype = "FinalFiberLabels"

0 commit comments

Comments
 (0)