Skip to content

Commit 951ad55

Browse files
committed
STY: PEP8 fix
1 parent 487c2ce commit 951ad55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nipype/algorithms/rapidart.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ def _calc_norm_affine(affines, use_differences, source, brain_pts=None):
148148
np.diff(newpos, n=1, axis=0)), axis=0)
149149
for i in range(newpos.shape[0]):
150150
normdata[i] = \
151-
np.max(np.sqrt(np.sum(np.reshape(np.power(np.abs(newpos[i, :]), 2),
152-
(3, all_pts.shape[1])), axis=0)))
151+
np.max(np.sqrt(np.sum(
152+
np.reshape(np.power(np.abs(newpos[i, :]), 2),
153+
(3, all_pts.shape[1])),
154+
axis=0)))
153155
else:
154156
newpos = np.abs(signal.detrend(newpos, axis=0, type='constant'))
155157
normdata = np.sqrt(np.mean(np.power(newpos, 2), axis=1))

0 commit comments

Comments
 (0)