Hi, I am making a calculation in Senaite, but I seem to be getting an error when I place this in the calculation:
if [Ca] > 10:
return [Ca] + [Mg]
elif [Ca] < 10:
return [Ca] - [Mg]
I set Ca as 11 & Mg as 9 for the test calculation, but it says:
Unspecified exception: invalid syntax
There are currently no items in this folder.
Can someone help me with this problem? Thank you very much!