-
Notifications
You must be signed in to change notification settings - Fork 29
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
FAS module no longer works as a standalone module (without comparing to observations) #40
Comments
@kevinmilner How do you call the FAS module? I think we will need a lot of if statements in order to make the run method work without observations. I'm inclined to have a separate run method that just does simulations. Would that work for you? Perhaps if i_comparison_label is None we can switch to the new run method. Fabio |
Thanks @fabiolsilva, that should work quite well! I call it on the command line via run_bby.py with an XML input file. |
Commit e98d10b modified the FAS module to enable it to work with scenario simulations. |
@fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't supplied:
646b247
I get this stack trace at first:
I then tried changing the init method to default i_comparison_label to None, but get a new one:
I need this working soon, so I'll start throwing a bunch of if statements in there to isolate the observation code, but thought I would give you the chance to do it if you would prefer and can get to it in the next day or so. Thanks!
Kevin
The text was updated successfully, but these errors were encountered: