iiasa / ixmp

The ix modeling platform for integrated and cross-cutting scenario analysis
https://docs.messageix.org/ixmp
Apache License 2.0
38 stars 112 forks source link

Copy indexers dict in reporting…AttrSeries.sel #349

Closed khaeru closed 4 years ago

khaeru commented 4 years ago

copy() to avoid modifying a dictionary of indexers passed as the first positional argument to AttrSeries.sel().

How to review

Confirm that CI checks pass.

PR checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #349 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #349   +/-   ##
=======================================
  Coverage   95.79%   95.79%           
=======================================
  Files          45       45           
  Lines        4878     4878           
=======================================
  Hits         4673     4673           
  Misses        205      205           
Impacted Files Coverage Δ
ixmp/reporting/attrseries.py 99.01% <100.00%> (ø)

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 653d2a2...f9eb96c. Read the comment docs.