Skip to content

Commit 637a73b

Browse files
committed
fixing indentation problem in examples/fmri_ants_openfmri.py
1 parent 4e040ac commit 637a73b

File tree

2 files changed

+11
-482
lines changed

2 files changed

+11
-482
lines changed

examples/fmri_ants_openfmri.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
This script demonstrates how to use nipype to analyze a data set::
1111
1212
python fmri_ants_openfmri.py --datasetdir ds107
13+
1314
"""
15+
1416
from __future__ import division, unicode_literals
1517
from builtins import open, range, str, bytes
1618

@@ -37,19 +39,19 @@
3739

3840
config.enable_provenance()
3941
version = 0
40-
if fsl.Info.version() and \
41-
LooseVersion(fsl.Info.version()) > LooseVersion('5.0.6'):
42+
if (fsl.Info.version() and LooseVersion(fsl.Info.version()) > LooseVersion('5.0.6')):
4243
version = 507
4344

4445
fsl.FSLCommand.set_default_output_type('NIFTI_GZ')
4546

46-
imports = ['import os',
47-
'import nibabel as nb',
48-
'import numpy as np',
49-
'import scipy as sp',
50-
'from nipype.utils.filemanip import filename_to_list, list_to_filename, split_filename',
51-
'from scipy.special import legendre'
52-
]
47+
imports = [
48+
'import os',
49+
'import nibabel as nb',
50+
'import numpy as np',
51+
'import scipy as sp',
52+
'from nipype.utils.filemanip import filename_to_list, list_to_filename, split_filename',
53+
'from scipy.special import legendre'
54+
]
5355

5456
def median(in_files):
5557
"""Computes an average of the median of each realigned timeseries

0 commit comments

Comments
 (0)