chan-csu / ADToolbox

AD Toolbox: A python package for modeling and optimization on anaerobic digestion process
1 stars 2 forks source link

optimize.validate_model Issue #14

Closed ale18032005 closed 1 month ago

ale18032005 commented 1 month ago

When this method is call it give an error

Traceback (most recent call last):
  File "...", line 449, in <module>
    print(optimize.validate_model(model=model,data=training_data,plot=False))      
  File "...", line 569, in validate_model
    fig.add_trace(go.Scatter(x=out["model"].index,y=out["model"][variable],name=variable,mode="lines",line=dict(
AttributeError: 'NoneType' object has no attribute 'add_trace'
ParsaGhadermazi commented 1 month ago

This is fixed now!