IAMconsortium / pyam

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

Clean-up of `filter` implementation #614

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 2 years ago

Description of PR

This PR migrates parts of the filter-implementation and their tests to own modules.

codecov[bot] commented 2 years ago

Codecov Report

Merging #614 (89f13b3) into feature/year-and-datetime (49c9f79) will increase coverage by 0.0%. The diff coverage is 100.0%.

Impacted file tree graph

@@                    Coverage Diff                    @@
##           feature/year-and-datetime    #614   +/-   ##
=========================================================
  Coverage                       94.3%   94.4%           
=========================================================
  Files                             55      56    +1     
  Lines                           5501    5513   +12     
=========================================================
+ Hits                            5190    5206   +16     
+ Misses                           311     307    -4     
Impacted Files Coverage Δ
pyam/utils.py 90.8% <ø> (-0.2%) :arrow_down:
tests/test_core.py 100.0% <ø> (ø)
pyam/core.py 94.6% <100.0%> (-0.2%) :arrow_down:
pyam/filter.py 100.0% <100.0%> (ø)
tests/test_filter.py 100.0% <100.0%> (ø)

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 49c9f79...89f13b3. Read the comment docs.