Changes between Version 19 and Version 20 of DevNotes/DevGuide/CodingRules
- Timestamp:
- May 30, 2016 7:09:19 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/DevGuide/CodingRules
v19 v20 1 1 Sasview Coding Rules 2 2 3 The coding rules are based on few already existing rules of SasView and other programs available from SINE2020 project (primarily Mantid http://www.mantidproject.org/Coding_Standards). The idea is to implement the coding rules at ESS and then potentially suggest the guideline for future developers within SASView community.3 The coding rules are based on few already existing rules of !SasView and other programs available from SINE2020 project (primarily Mantid http://www.mantidproject.org/Coding_Standards). The idea is to implement the coding rules at ESS and then potentially suggest the guideline for future developers within SasView community. 4 4 5 5 The following document is divided into subsections (Some of these needs to be written) … … 209 209 * Example editors used in the group are: 210 210 1. vi 211 2. PyCharm211 2. !PyCharm 212 212 3. Visual Studio with PTVS 213 213 214 * Both PyCharm and VS allow source level debugging both of self-spawned processes and by attaching to an already running process.214 * Both !PyCharm and VS allow source level debugging both of self-spawned processes and by attaching to an already running process. 215 215 216 216 == API == … … 226 226 {{{#!python 227 227 @property 228 229 228 def intensity(self): 229 return self.wave.intensity 230 230 }}} 231 231 }}} … … 236 236 {{{#!python 237 237 @intensity.setter 238 239 238 def intensity(self, value): 239 self.wave.set_intensity(intensity) 240 240 }}} 241 241 }}}