Skip to content

Commit 8ebd909

Browse files
author
Shoshana Berleant
committed
m pep8
1 parent c15de34 commit 8ebd909

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

nipype/algorithms/tests/test_compcor.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
22
# vi: set ft=python sts=4 ts=4 sw=4 et:
3-
import nipype
4-
from ...testing import assert_equal, assert_true, assert_false, skipif, utils
5-
from ..confounds import CompCor, TCompCor, ACompCor
6-
7-
import unittest
8-
import nibabel as nb
9-
import numpy as np
103
import os
114
import tempfile
125
import shutil
6+
import unittest
7+
8+
import nibabel as nb
9+
import numpy as np
10+
11+
from ...testing import assert_equal, assert_true, utils
12+
from ..confounds import CompCor, TCompCor, ACompCor
1313

1414
class TestCompCor(unittest.TestCase):
1515
''' Note: Tests currently do a poor job of testing functionality '''
@@ -27,8 +27,8 @@ def setUp(self):
2727
self.realigned_file = utils.save_toy_nii(self.fake_data + noise,
2828
self.filenames['functionalnii'])
2929
mask = np.ones(self.fake_data.shape[:3])
30-
mask[0,0,0] = 0
31-
mask[0,0,1] = 0
30+
mask[0, 0, 0] = 0
31+
mask[0, 0, 1] = 0
3232
self.mask_file = utils.save_toy_nii(mask, self.filenames['masknii'])
3333

3434
def test_compcor(self):
@@ -58,7 +58,7 @@ def test_tcompcor(self):
5858
['0.5022537643', '-0.5098322262'],
5959
['-0.1342351356', '0.1407855119']])
6060

61-
def test_tcompcor_with_default_percentile(self):
61+
def test_tcompcor_no_percentile(self):
6262
ccinterface = TCompCor(realigned_file=self.realigned_file)
6363
ccinterface.run()
6464

0 commit comments

Comments
 (0)