Skip to content

Commit 36caef9

Browse files
committed
cleanup
1 parent 0ce153d commit 36caef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/confounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def compute_dvars(in_file, in_mask, remove_zerovariance=False,
663663
# Demean
664664
mfunc = regress_poly(0, mfunc, remove_mean=True).astype(np.float32)
665665

666-
if intensity_normalization != False:
666+
if intensity_normalization != 0:
667667
mfunc = (mfunc / np.median(mfunc)) * intensity_normalization
668668

669669
# Compute (non-robust) estimate of lag-1 autocorrelation

0 commit comments

Comments
 (0)