IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
222 stars 116 forks source link

Migrate `compute_bias()` to `compute` module #702

Closed danielhuppmann closed 1 year ago

danielhuppmann commented 1 year ago

Please confirm that this PR has done the following:

Description of PR

To remove clutter from the core module, this PR moves the method compute_bias() to compute module (with a deprecation-warning until the next release).

codecov[bot] commented 1 year ago

Codecov Report

Merging #702 (b23f78c) into main (fde3690) will decrease coverage by 0.0%. The diff coverage is 75.0%.

@@           Coverage Diff           @@
##            main    #702     +/-   ##
=======================================
- Coverage   94.7%   94.7%   -0.1%     
=======================================
  Files         58      58             
  Lines       5853    5855      +2     
=======================================
  Hits        5547    5547             
- Misses       306     308      +2     
Impacted Files Coverage Δ
pyam/units.py 96.1% <ø> (-0.1%) :arrow_down:
pyam/core.py 94.5% <33.3%> (-0.3%) :arrow_down:
pyam/compute.py 100.0% <100.0%> (ø)
tests/test_feature_debiasing.py 100.0% <100.0%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.