ukri-excalibur / excalibur-tests

Performance benchmarks and regression tests for the ExCALIBUR project
https://ukri-excalibur.github.io/excalibur-tests/
Apache License 2.0
18 stars 15 forks source link

Fix scaling in Streamlit post-processing #330

Open pineapple-cat opened 4 months ago

pineapple-cat commented 4 months ago

ln 323 in streamlit_post_processing.py was recently changed "x_value": y_scaling_x"x_value": str(y_scaling_x) to fix a config export issue, however this broke scaling functionality in the web app.

We could try to fix this by typing the scaling x-value before performing comparisons with it, such as:

However, these fixes alone are not enough because we must find a way to get around the error thrown if the app tries to type a "None" string as numeric (specifically, I found this was an issue when typing to Int64).