Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Formula editor removes useful brackets #235

Closed clausmichele closed 2 years ago

clausmichele commented 2 years ago

Steps to reproduce the issue:

  1. Insert an apply process
  2. Insert the following formula in the formula editor 10*log(x/(4*19), 10) and close it
  3. Now the process graph is correct.
  4. Reopen the formula editor: the curly brackets have been removed, if you press insert again the process graph will be wrong (compared to our initial formula)
m-mohr commented 2 years ago

Should be fixed in v0.10.3 - This may lead to some unnecessary brackets, but better too much than not enough.