Closed cgevans closed 2 years ago
Merging #10 (2d6fe57) into main (7686771) will increase coverage by
1.82%
. The diff coverage is89.74%
.
@@ Coverage Diff @@
## main #10 +/- ##
==========================================
+ Coverage 64.79% 66.62% +1.82%
==========================================
Files 12 12
Lines 1642 1645 +3
==========================================
+ Hits 1064 1096 +32
+ Misses 578 549 -29
Impacted Files | Coverage Δ | |
---|---|---|
src/alhambra_mixes/mixes.py | 54.93% <85.71%> (+0.09%) |
:arrow_up: |
src/alhambra_mixes/actions.py | 89.43% <89.52%> (+2.57%) |
:arrow_up: |
src/alhambra_mixes/abbreviated.py | 100.00% <100.00%> (+100.00%) |
:arrow_up: |
src/alhambra_mixes/components.py | 88.75% <100.00%> (+0.85%) |
:arrow_up: |
src/alhambra_mixes/units.py | 80.64% <0.00%> (+1.07%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This implements a ToConcentration action, which makes the concentration of (non-mix) components in a mix equal to some value. It is distinct from FixedConcentration in that the latter adds a certain concentration, regardless of what might be in the mix from elsewhere.
This action is useful if, eg, you have some mixes with MgCl₂ or polysorbate 20 added, and other without them, and you want to have a mix with those at specific concentrations, taking into account what has been added from the various components.