ixmp icon indicating copy to clipboard operation
ixmp copied to clipboard

Scenario.timeseries() not working when using transact() or check_out()

Open OFR-IIASA opened this issue 2 years ago • 2 comments

When a scenario object is checked out it is not possible to retrieve timeseries data.

Code sample or context

scen.check_out()
scen.timeseries()

or

with scen.transact():
    scen.timeseries()

Expected result

retrieve timeseries data; logic equivalent to that of parameters and/or sets.

Error message

*** at.ac.iiasa.ixmp.exceptions.at.ac.iiasa.ixmp.exceptions.IxException: at.ac.iiasa.ixmp.exceptions.IxException: This Scenario must be checked in before performing this operation!

OFR-IIASA avatar Jul 28 '22 12:07 OFR-IIASA

Added the 'bug' label and to the project tracker.

A minimal working example would help, here, as that could be more easily turned into a test.

khaeru avatar Aug 03 '22 11:08 khaeru

Executing the above lines of code on any given scenario should yield the error message above.

OFR-IIASA avatar Aug 03 '22 12:08 OFR-IIASA