-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The current scope of ResultWizard is to provide a facility to export Python variables to make use of them in LaTeX code. The user might still want to see a preview of their exported result in the console when they execute their Python code. For this, we have introduced a console_stringifier, that does exactly that: it converts Results to a console representation (string).
Unit parsing
So far, the logic for parsing units is limited, e.g. with regards to parentheses. This was discussed in this comment here. We could improve on this, such that we get more consistent whitespaces between units and also correct some special cases discussed there. We have not implemented an LR parser with a proper grammar yet, which might be beneficial here, but probably not something for the current scope.
General output
Generally, the output for the console could be improved, e.g. by making use of colors in the console to better distinguish values from uncertainties and units etc. Furthermore, custom uncertainties are currently printed like (sysyeah) instead of (sys_yeah) (or another representation that is bit more pleasing to the eye).