Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OFR-IIASA opened this issue Jul 28, 2022 · 2 comments
Open
Labels

Comments

@OFR-IIASA
Copy link

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!
@khaeru khaeru added the bug label Aug 3, 2022
@khaeru
Copy link
Member

khaeru commented Aug 3, 2022

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.

@OFR-IIASA
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants