-
Notifications
You must be signed in to change notification settings - Fork 435
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
handcalc decoration doesn't allow to render conditional statements #191
Comments
Using a simple example, I don't get any error (just some rendering problems with si.mm): Cell 1:
Cell 2:
Cell 3:
If you have an example that gives an error, please share it with us. |
I get the same error when trying conditionals. The most stable i can get is this: @handcalc(override=str("symbolic"), precision= int(3), left= str("$"), right= str("$"), jupyter_display= True) It prints the response to the conditional before the latex, which spoils the appearance. I must add that, it seems to be the text that causes the problem, because the following works just as expected, latex and all: @handcalc(override=str("symbolic"), precision= int(3), left= str("$"), right= str("$"), jupyter_display= True) |
to get the unstable version of the above, sorry for not including the first time, try this: @handcalc(override=str("symbolic"), precision= int(3), left= str("$"), right= str("$"), jupyter_display= True) |
okay, i apparently need to go back to school.... The following does work, not quite how i was thinking, but it works, the display is a bit erratic, but (again) it works. @handcalc(override=str("symbolic"), precision= int(3), left= str("$"), right= str("$"), jupyter_display= True) p.s. love handcalcs, am wanting to use it more, mostly as a shortcut around Excel. I cannot escape IT, but i can short cut it... |
I'm getting an issue when trying to use a decorated function with a conditional.
ParseException: Expected == | = | + | - | * | // | / | % | , | <= | < | >= | > | != term, found end of text (at char 4), (line:1, col:5)
The text was updated successfully, but these errors were encountered: