Closed cliffckerr closed 4 years ago
@cliffckerr is this PR ready to merge/mergable?
This is not mergable, scenarios give this error:
2019-07-16 10:30:35,962 ERROR: Exception during request <Request 'http://127.0.0.1:9000/api/procedure' [POST]>: Traceback (most recent call last):
File "/mnt/c/Users/romesh.abey/Desktop/projects/optima/server/webapp/dataio.py", line 315, in _report_exception
return api_call(*args, **kwargs)
File "/home/romesh/.conda/envs/hiv/lib/python3.7/site-packages/Flask_Login-0.4.1-py3.7.egg/flask_login/utils.py", line 261, in decorated_view
return func(*args, **kwargs)
File "/mnt/c/Users/romesh.abey/Desktop/projects/optima/server/api.py", line 148, in run_remote_procedure
result = fn(*args, **kwargs)
File "/mnt/c/Users/romesh.abey/Desktop/projects/optima/server/webapp/dataio.py", line 1499, in make_scenarios_graphs
project.runscenarios(end=endYear) # Only change end year from default
File "/mnt/c/Users/romesh.abey/Desktop/projects/optima/optima/project.py", line 651, in runscenarios
if nruns>1: # Handle uncertainty
TypeError: '>' not supported between instances of 'NoneType' and 'int'
@RomeshA should be fixed
@RomeshA Do you remember what the deal with this is? It seems like most of these commits are merged, but git says no...
This PR is haunted, see https://github.com/optimamodel/optima/pull/1818
Includes the other 3 open PRs. Supposed to be 2019, not 2018...