resistance-modelling / slim

SLIM is the Sea Lice Model associated with a funded BBSRC project on the evolution to resistance to treatment in sea lice (BBR009309). We aim to integrate an epidemiological and genetic model of sea lice with a model of treatment decision-making by different salmon farms.
MIT License
1 stars 0 forks source link

Feature/new genotype #208

Closed erolm-a closed 2 years ago

erolm-a commented 2 years ago

209 , closes #206 and #207

This PR introduces the following:

TODO:

To fix:

This PR has been open for way longer than originally intended. I apologise for the inconvenience.

codecov-commenter commented 2 years ago

Codecov Report

Merging #208 (702f27f) into master (54f7540) will decrease coverage by 0.94%. The diff coverage is 91.19%.

@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
- Coverage   92.85%   91.90%   -0.95%     
==========================================
  Files          10       10              
  Lines        1511     1544      +33     
  Branches      257      244      -13     
==========================================
+ Hits         1403     1419      +16     
- Misses         82       97      +15     
- Partials       26       28       +2     
Flag Coverage Δ
unittests 91.90% <91.19%> (-0.95%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
slim/simulation/farm.py 95.87% <84.61%> (-0.02%) :arrow_down:
slim/simulation/lice_population.py 89.36% <89.03%> (-1.85%) :arrow_down:
slim/simulation/cage.py 97.09% <98.50%> (-1.14%) :arrow_down:
slim/simulation/config.py 92.79% <100.00%> (ø)
slim/simulation/organisation.py 89.18% <100.00%> (-1.51%) :arrow_down:
slim/simulation/simulator.py 71.21% <100.00%> (ø)
slim/types/treatments.py 100.00% <100.00%> (ø)
slim/types/queue.py 91.48% <0.00%> (-1.07%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 54f7540...702f27f. Read the comment docs.