We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7265339 commit 558ca6cCopy full SHA for 558ca6c
nipype/interfaces/cmtk/convert.py
@@ -196,7 +196,7 @@ def _run_interface(self, runtime):
196
cda = cf.CData(name=data_name, src=data, fileformat="NumPy")
197
if 'lengths' in data_name:
198
cda.dtype = "FinalFiberLengthArray"
199
- if string.find(data_name, 'endpoints') != -1:
+ if 'endpoints' in data_name:
200
cda.dtype = "FiberEndpoints"
201
if string.find(data_name, 'labels') != -1:
202
cda.dtype = "FinalFiberLabels"
0 commit comments