diff --git a/multipy/fdr.py b/multipy/fdr.py index 3dc3091..52f3ec6 100755 --- a/multipy/fdr.py +++ b/multipy/fdr.py @@ -197,7 +197,8 @@ def qvalue(pvals, threshold=0.05, verbose=True): """ if (pi0 < 0 or pi0 > 1): pi0 = 1 - print('Smoothing estimator did not converge in [0, 1]') + if (verbose): + print('Smoothing estimator did not converge in [0, 1]') # Compute the q-values. qvals = np.zeros(np.shape(pvals))