File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,7 @@ inplace:
53
53
$(PYTHON ) setup.py build_ext -i
54
54
55
55
test-code : in
56
- # $(NOSETESTS) -s nipype/algorithms/compcor.py --with-doctest -v
57
- $(NOSETESTS) -s nipype/algorithms/tests/test_tsnr.py # --with-coverage
58
- $(NOSETESTS) -s nipype/algorithms/tests/test_compcor.py # --with-coverage
59
- # $(NOSETESTS) -s nipype/algorithms/misc.py --with-doctest -v
56
+ $(NOSETESTS ) -s nipype --with-doctest
60
57
61
58
test-doc :
62
59
$(NOSETESTS ) -s --with-doctest --doctest-tests --doctest-extension=rst \
Original file line number Diff line number Diff line change @@ -60,11 +60,8 @@ def _run_interface(self, runtime):
60
60
img = nb .load (self .inputs .in_file [0 ])
61
61
header = img .header .copy ()
62
62
vollist = [nb .load (filename ) for filename in self .inputs .in_file ]
63
- data = np .concatenate (
64
- [vol .get_data ().reshape (
65
- vol .get_shape ()[:3 ] + (- 1 ,))
66
- for vol in vollist ],
67
- axis = 3 )
63
+ data = np .concatenate ([vol .get_data ().reshape (
64
+ vol .get_shape ()[:3 ] + (- 1 ,)) for vol in vollist ], axis = 3 )
68
65
data = np .nan_to_num (data )
69
66
70
67
if data .dtype .kind == 'i' :
You can’t perform that action at this time.
0 commit comments