Open
Description
@Jihoon discovered that copy_ts()
returns Keys like:
[<copy ts -2e5ad320a27116a4:>, <copy ts 1df562ba0f86f8c8:>]
which should, instead, be strings like:
["copy ts -2e5ad320a27116a4", "copy ts 1df562ba0f86f8c8"]
Using the former, invalid keys as inputs to further computations leads to a no-op.
This is likely due to the use of genno.core.key.single_key()
:
message-ix-models/message_ix_models/report/util.py
Lines 191 to 193 in 4378be6
Since that's mainly for type checking, we can adjust like:
k_result = f"copy ts {_id}"
rep.add(k_result, "store_ts", "scenario", k2)
return k_result