Skip to content

Commit c2a8906

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

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
@@ -198,7 +198,7 @@ def _run_interface(self, runtime):
198198
cda.dtype = "FinalFiberLengthArray"
199199
if 'endpoints' in data_name:
200200
cda.dtype = "FiberEndpoints"
201-
if string.find(data_name, 'labels') != -1:
201+
if 'labels' in data_name:
202202
cda.dtype = "FinalFiberLabels"
203203
a.add_connectome_data(cda)
204204

0 commit comments

Comments
 (0)