Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgorgo committed Nov 18, 2017
1 parent 8524064 commit f1bba17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mriqc/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
'nipy',
'statsmodels',
'versioneer',
'xvfbwrapper'
'xvfbwrapper',
]

LINKS_REQUIRES = [
Expand Down
7 changes: 2 additions & 5 deletions mriqc/workflows/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,9 @@ def slice_wise_fft(in_file, ftmask=None, spike_thres=3., out_prefix=None):
def get_fwhmx():
fwhm_args = {"combine": True,
"detrend": True}
afni_version_tpl = afni.Info.version()
afni_version = StrictVersion(".".join([str(afni_version_tpl[0]),
str(afni_version_tpl[1]),
str(afni_version_tpl[2])]))
afni_version = StrictVersion('%s.%s.%s' % afni.Info.version())
if afni_version >= StrictVersion("2017.2.3"):
fwhm_args['args'] = '-ShowMeClassicFWHM'
fwhm_args['acf'] = True
fwhm_interface = afni.FWHMx(**fwhm_args)
return fwhm_interface
return fwhm_interface

0 comments on commit f1bba17

Please sign in to comment.