Changes between Initial Version and Version 2 of Ticket #477


Ignore:
Timestamp:
Mar 1, 2019 5:38:57 PM (5 years ago)
Author:
butler
Comment:

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. 
     1Currently 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. 
    22 
    33We 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.