Skip to content

Commit

Permalink
fixing indentation problem in examples/fmri_ants_openfmri.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Aug 25, 2016
1 parent 4e040ac commit 637a73b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 482 deletions.
20 changes: 11 additions & 9 deletions examples/fmri_ants_openfmri.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
This script demonstrates how to use nipype to analyze a data set::
python fmri_ants_openfmri.py --datasetdir ds107
"""

from __future__ import division, unicode_literals
from builtins import open, range, str, bytes

Expand All @@ -37,19 +39,19 @@

config.enable_provenance()
version = 0
if fsl.Info.version() and \
LooseVersion(fsl.Info.version()) > LooseVersion('5.0.6'):
if (fsl.Info.version() and LooseVersion(fsl.Info.version()) > LooseVersion('5.0.6')):
version = 507

fsl.FSLCommand.set_default_output_type('NIFTI_GZ')

imports = ['import os',
'import nibabel as nb',
'import numpy as np',
'import scipy as sp',
'from nipype.utils.filemanip import filename_to_list, list_to_filename, split_filename',
'from scipy.special import legendre'
]
imports = [
'import os',
'import nibabel as nb',
'import numpy as np',
'import scipy as sp',
'from nipype.utils.filemanip import filename_to_list, list_to_filename, split_filename',
'from scipy.special import legendre'
]

def median(in_files):
"""Computes an average of the median of each realigned timeseries
Expand Down
Loading

0 comments on commit 637a73b

Please sign in to comment.