Skip to content

Commit f369b7e

Browse files
Merge pull request #343 from andrewkern/ponpyg_doc
ponpyg doc hooks
2 parents 28fb59f + 067c745 commit f369b7e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

docs/catalog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Then, if you feel ready, make an issue on our
4343

4444
.. speciescatalog:: HomSap
4545

46+
.. speciescatalog:: PonPyg
47+
4648
.. speciescatalog:: DroMel
4749

4850
.. speciescatalog:: AraTha
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Population size,"17,934",Ancestral pop. size
2+
Population size,"10,617",Pongo pygmaeus pop. size at split
3+
Population size,"7,317",Pongo abelii pop. size at split
4+
Population size,"8,805",Modern Pongo pygmaeus pop. size
5+
Population size,"37,661",Modern Pongo abelii pop. size
6+
Epoch Time (gen.),"20,157",Species divergence time
7+
Generation time (yrs.),20,Generation time

stdpopsim/catalog/pongo_pygmaeus.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _orangutan():
115115
Bornean population slightly declines.
116116
"""
117117

118-
citations = [_locke2011]
118+
citations = [_locke2011.because(stdpopsim.CiteReason.DEM_MODEL)]
119119

120120
populations = [
121121
stdpopsim.Population(
@@ -183,3 +183,6 @@ def _orangutan():
183183
time=T_split, initial_size=Na, growth_rate=0, population_id=0),
184184
],
185185
)
186+
187+
188+
_species.add_demographic_model(_orangutan())

0 commit comments

Comments
 (0)