qgisred / QGISRed

GNU General Public License v2.0
23 stars 8 forks source link

Python error when changing time in results browser #73

Closed hyperprogram2 closed 2 years ago

hyperprogram2 commented 2 years ago

Hello,

A python error occurs when changing the time of the result when the display of links velocity is selected. There is no error with the flow ou headloss display.

image

Animation2

Regards

neslerel commented 2 years ago

Thanks @hyperprogram2

It could be more difficult to test it. Could you send me the project or the exported INP file?

hyperprogram2 commented 2 years ago

Hello,

If you have kept it, you can test with the previous .inp I sent you (for number 65: Test_rules.inp). With this file and a 0:15 hydraulic timestep, I noticed that the issue can occur even with the flow results. With a simpler model without simulation errors, I can't reproduce the problem. Perhaps there is a problem displaying incomplete results.

Regards

neslerel commented 2 years ago

I detected the bug. It was when we generate the labels... it took the "Hydraulic timestep" instead of the "Report timestep". Now it generates the correct labels and no python errors should be raised.

hyperprogram2 commented 2 years ago

Hello,

I tried v0.14.4 and the issue is solved.

Thank you