Problem adding LinearTrend #674
-
Hi, and thanks for all your efforts in bringing life into Pastas! Following the examples provided, I've ran into an issue regarding adding a LinearTrend stressmodel, using the following code:
Needless to say, the model works fine without adding the LinearTrend (albeit having a poor fit), but breaks whenever I do add the trend.
Thanks again, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is a bug in pastas that should be solved. I will convert this into an issue. The error occurs when creating the fit report. So a quick fix to avoid this error might be to add |
Beta Was this translation helpful? Give feedback.
-
Hi @AviadAvr, thanks for posting your issue. This is a mistake on my part. I'm about to submit a fix. I see Onno provided a workaround for now, so hopefully that allows you to continue for now. You can still print the rest of the fit_report manually using: print(ml.fit_report(warnings=False)) |
Beta Was this translation helpful? Give feedback.
This is a bug in pastas that should be solved. I will convert this into an issue. The error occurs when creating the fit report. So a quick fix to avoid this error might be to add
report=False
toml.solve
.