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 5f1b823 commit 7265339Copy full SHA for 7265339
nipype/interfaces/cmtk/convert.py
@@ -194,7 +194,7 @@ def _run_interface(self, runtime):
194
for data in self.inputs.data_files:
195
_, data_name, _ = split_filename(data)
196
cda = cf.CData(name=data_name, src=data, fileformat="NumPy")
197
- if string.find(data_name, 'lengths') != -1:
+ if 'lengths' in data_name:
198
cda.dtype = "FinalFiberLengthArray"
199
if string.find(data_name, 'endpoints') != -1:
200
cda.dtype = "FiberEndpoints"
0 commit comments