-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expression
fails with extra commas
#525
Comments
I hit comment to early. cc @yquilcaille - I am not sure we should try to fix this but think about if there is a different approach we can take. Such a parsing is inherently difficult... |
My naive opinion would be simply to change the character for the parsing, and use something that would not be used normally in python. Maybe $? But i see the issue (#527), see whether it is a better fix. |
I would like to avoid inventing our own language 😉 Instead we could
|
|
Found one more: Expression cannot contain rational numbers:
I think it is because we use |
That error message seems off... But anyway Separate expressions for each param (idea 3 from above) would not help with the rational numbers 😒 |
I am writing unit tests for
Expression
and it fails if there are more commas than parameters, as it splits on them. Example:The problems happens here:
mesmer/mesmer/mesmer_x/train_utils_mesmerx.py
Lines 130 to 134 in 6c800e5
The text was updated successfully, but these errors were encountered: