You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are experiencing some trouble trying to implement a TFormula in correctionlib. Our understanding is that problem is related to the parsing of the "&&" logic operator in the TFormula.
cset = _core.CorrectionSet.from_file(fname)
RuntimeError: Failed to parse Formula expression at position 28:
((min(max(x,20.),140.)>20.0&&min(max(x,20.),140.)<=30.0))*0.8434999999999999
^
syntax error, unexpected '&', expecting , .
Can you please clarify if this indeed the case? If indeed the case do you think i'd be possible to rectify this?
In the meantime, is there a way to test a-priory a given TFormula or even parse it and then pass it to correctionlib?
Perhaps an example script or documentation?
Thank you in advance.
Best regards,
Alexandros
The text was updated successfully, but these errors were encountered:
Dear devs,
we are experiencing some trouble trying to implement a TFormula in correctionlib. Our understanding is that problem is related to the parsing of the "&&" logic operator in the TFormula.
RuntimeError: Failed to parse Formula expression at position 28:
((min(max(x,20.),140.)>20.0&&min(max(x,20.),140.)<=30.0))*0.8434999999999999
^
syntax error, unexpected '&', expecting , .
Can you please clarify if this indeed the case? If indeed the case do you think i'd be possible to rectify this?
In the meantime, is there a way to test a-priory a given TFormula or even parse it and then pass it to correctionlib?
Perhaps an example script or documentation?
Thank you in advance.
Best regards,
Alexandros
The text was updated successfully, but these errors were encountered: