Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
updated based on comments in popsim-consortium#1067
  • Loading branch information
izabelcavassim committed Nov 1, 2021
1 parent ae0d988 commit 52dc0c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stdpopsim/catalog/ChlRei/species.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
reasons={stdpopsim.CiteReason.POP_SIZE}, # Quebec population
),
stdpopsim.Citation(
author="Vitova et al.",
author="Vítová et al",
year=2011,
doi="https://doi.org/10.1007/s00425-011-1427-7",
reasons={stdpopsim.CiteReason.GEN_TIME},
Expand Down
5 changes: 1 addition & 4 deletions tests/test_ChlRei.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ def test_common_name(self):
def test_qc_population_size(self):
assert self.species.population_size == 1.4 * 1e-7

@pytest.mark.skip("Generation time QC not done yet")
def test_qc_generation_time(self):
assert self.species.generation_time == -1
assert self.species.generation_time == 1 / 876


class TestGenomeData(test_species.GenomeTestBase):
Expand Down Expand Up @@ -84,6 +83,4 @@ def test_recombination_rate(self, name, rate):
}.items(),
)
def test_mutation_rate(self, name, rate):
print("This is the mutation rate")
print(self.genome.get_chromosome(name).mutation_rate)
assert rate == pytest.approx(self.genome.get_chromosome(name).mutation_rate)

0 comments on commit 52dc0c2

Please sign in to comment.