Skip to content

Commit

Permalink
Merge pull request #972 from izabelcavassim/patch-1
Browse files Browse the repository at this point in the history
importing numpy
  • Loading branch information
mufernando committed Jul 1, 2021
2 parents e899375 + 7ed87c4 commit a93339f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,9 @@ and MutationTypes have the same arguments as in SLiM.

.. code-block:: python
import numpy as np
def KimDFE():
"""
Return neutral and negative MutationType()s representing a human DFE.
Expand Down Expand Up @@ -970,6 +973,9 @@ and outside the gene, all mutations are neutral and all are added with msprime.

.. code-block:: python
import numpy as np
species = stdpopsim.get_species("HomSap")
model = species.get_demographic_model("OutOfAfrica_3G09")
contig = species.get_contig(length=3000)
Expand Down

0 comments on commit a93339f

Please sign in to comment.