From 357bf4264d772f47871751ea7e94c5643fd278d3 Mon Sep 17 00:00:00 2001 From: Peter Ralph Date: Tue, 10 Oct 2023 09:26:45 -0700 Subject: [PATCH] Apply suggestions from code review --- README.md | 2 +- stdpopsim/catalog/PhoSin/species.py | 27 +++++++-------------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6a867e3e2..221b7edd4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Click [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/g If you use ``stdpopsim`` in your work, please cite our papers: -* [Adrion, etl al. (2020)](https://elifesciences.org/articles/54967) +* [Adrion, et al. (2020)](https://elifesciences.org/articles/54967) * [Lauterbur, et al. (2023)](https://elifesciences.org/reviewed-preprints/84874). See [here](https://popsim-consortium.github.io/stdpopsim-docs/stable/introduction.html#citations) diff --git a/stdpopsim/catalog/PhoSin/species.py b/stdpopsim/catalog/PhoSin/species.py index 93c00da69..58b69a7da 100644 --- a/stdpopsim/catalog/PhoSin/species.py +++ b/stdpopsim/catalog/PhoSin/species.py @@ -111,19 +111,10 @@ author="Morin et al.", year=2021, doi="https://doi.org/10.1111/1755-0998.13284", - reasons={stdpopsim.CiteReason.ASSEMBLY}, - ), - stdpopsim.Citation( - author="Morin et al.", - year=2021, - doi="https://doi.org/10.1111/1755-0998.13284", - reasons={stdpopsim.CiteReason.REC_RATE}, - ), - stdpopsim.Citation( - author="Morin et al.", - year=2021, - doi="https://doi.org/10.1111/1755-0998.13284", - reasons={stdpopsim.CiteReason.REC_RATE}, + reasons={ + stdpopsim.CiteReason.ASSEMBLY, + stdpopsim.CiteReason.REC_RATE, + }, ), stdpopsim.Citation( author="Robinson et al.", @@ -165,13 +156,9 @@ author="Robinson et al.", year=2022, doi="https://doi.org/10.1126/science.abm1742", - reasons={stdpopsim.CiteReason.POP_SIZE}, - ), - stdpopsim.Citation( - author="Robinson et al.", - year=2022, - doi="https://doi.org/10.1126/science.abm1742", - reasons={stdpopsim.CiteReason.GEN_TIME}, + reasons={ + stdpopsim.CiteReason.POP_SIZE, + stdpopsim.CiteReason.GEN_TIME, }, ), stdpopsim.Citation( author="Taylor et al.",