Changes between Version 15 and Version 16 of DevNotes/DevGuide/CodingRules
- Timestamp:
- May 30, 2016 8:32:38 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/DevGuide/CodingRules
v15 v16 47 47 48 48 * Models: when adding a new model the .py file starts with an r (for raw) and three sets of quotes to start the doc string and ends with a second set of 3 quotes. 49 * Models: wherever possible, try to use images of math functions with Latex equivalents. You can use the live demo Mathjax page ( http://www.mathjax.org/) to make sure the equation looks as expected. Also a lot of the Latex code can be taken from (or edited) from the PDF document created by Paul Kienzle: [http://sasview.org/attachment/wiki/SasModels%20Work%20Package/Equations.docx.pdf]50 49 * Models: don't add/remove the table of parameters which will get autogenerated. 51 50 * Models: add non-math figures to the sasmodels/sasmodels/models/img subdirectory and rename them to something sensible.