Skip to content

Commit

Permalink
1e-3
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Apr 24, 2019
1 parent 009e0cf commit 7a87a06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions doc/qtl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ We now apply the function :func:`limix.qtl.scan` to our data set
>>> from limix.qtl import scan
>>>
>>> r = scan(G, y, "normal", M=M, verbose=False)
>>> print(r) # doctest: +FLOAT_CMP
>>> print(r)
Hypothesis 0
============
<BLANKLINE>
Expand Down Expand Up @@ -265,7 +265,7 @@ matrix 𝙺, and call :func:`limix.qtl.scan` to perform the analysis.
>>> y += multivariate_normal(random, zeros(n), K)
>>>
>>> r = scan(X, y, "normal", K, 𝙼=M, verbose=False)
>>> print(r) # doctest: +FLOAT_CMP
>>> print(r)
Hypothesis 0
============
<BLANKLINE>
Expand Down Expand Up @@ -340,7 +340,7 @@ distribution is not sufficient to explain the variability of yᵢ.
>>> y = random.poisson(exp(z))
>>>
>>> r = scan(G, y, "poisson", K, M=M, verbose=False)
>>> print(r) # doctest: +FLOAT_CMP
>>> print(r)
Hypothesis 0
============
<BLANKLINE>
Expand Down Expand Up @@ -426,7 +426,7 @@ Here is an example.
>>> E1 = random.randn(y.shape[0], 1)
>>>
>>> r = iscan(G, y, "normal", K, M, E0=E0, E1=E1, verbose=False)
>>> print(r) # doctest: +FLOAT_CMP
>>> print(r)
Hypothesis 0
============
<BLANKLINE>
Expand Down Expand Up @@ -533,7 +533,7 @@ Here is an example.
>>> A1 = eye(p)
>>>
>>> r = scan(G, Y, K=K, M=M, A=A, A0=A0, A1=A1, verbose=False)
>>> print(r) # doctest: +FLOAT_CMP
>>> print(r)
Hypothesis 0
============
<BLANKLINE>
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ addopts =
--ignore="doc/conf.py"
norecursedirs = .eggs .git *.egg-info build .ropeproject doc/_build .undodir doc/_generated limix/model/struct_lmm
doctest_plus = enabled
doctest_plus_atol = 1e-04
doctest_plus_rtol = 1e-04
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS ALLOW_UNICODE
doctest_plus_atol = 1e-03
doctest_plus_rtol = 1e-03
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS ALLOW_UNICODE FLOAT_CMP
pep8ignore = R0915

[tool:isort]
Expand Down

0 comments on commit 7a87a06

Please sign in to comment.