Changes between Initial Version and Version 2 of Ticket #477
- Timestamp:
- Mar 1, 2019 7:38:57 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #477
- Property Work Package changed from SasModels New Model to SasModels Infrastructure
- Property Type changed from defect to enhancement
-
Ticket #477 – Description
initial v2 1 Currently if you want to do something fancy like $\Ohm^{-1} $ for the units in the documentation you need to modify generate.py and add an entry to the RST_UNITS map, converting the GUI form name 1/ohm that is stored in the parameter definition to the appropriate markup in html file.1 Currently if you want to do something fancy like $\Ohm^{-1}^$ for the units in the documentation you need to modify generate.py and add an entry to the RST_UNITS map, converting the GUI form name 1/ohm that is stored in the parameter definition to the appropriate markup in html file. 2 2 3 3 We can extend the unit definition field so that it contains "units|markup", and parse it into two different properties when the model is loaded, one for the GUI and one for the documentation.