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 a09d212 commit 173c946Copy full SHA for 173c946
CPAC/nuisance/utils/compcor.py
@@ -204,6 +204,8 @@ def TR_string_to_float(tr):
204
tr_numeric = float(tr_str[:-2]) * 0.001
205
elif tr.endswith('s'):
206
tr_numeric = float(tr_str[:-1])
207
+ else:
208
+ tr_numeric = float(tr_str)
209
except Exception as exc:
210
raise ValueError(f'Can not convert TR string to float: "{tr}".') from exc
211
0 commit comments