[6d48919] | 1 | Microsoft Windows XP [Version 5.1.2600] |
---|
| 2 | (C) Copyright 1985-2001 Microsoft Corp. |
---|
| 3 | |
---|
| 4 | C:\Documents and Settings\galina\workspace>pylint sans.perspectives.calculator |
---|
| 5 | No config file found, using default configuration |
---|
| 6 | ************* Module sans.perspectives.calculator |
---|
| 7 | W: 26: Bad indentation. Found 13 spaces, expected 12 |
---|
| 8 | W: 27: Bad indentation. Found 13 spaces, expected 12 |
---|
| 9 | W: 28: Bad indentation. Found 17 spaces, expected 16 |
---|
| 10 | W: 29: Bad indentation. Found 13 spaces, expected 12 |
---|
| 11 | C: 1: Missing docstring |
---|
| 12 | W: 2: Relative import 'calculator', should be 'sans.perspectives.calculator.cal |
---|
| 13 | culator' |
---|
| 14 | W: 2: Wildcard import calculator |
---|
| 15 | C: 7:get_data_path: Empty docstring |
---|
| 16 | W: 22:get_data_path: Unused variable 'i' |
---|
| 17 | W: 41:data_files: Redefining name 'data_files' from outer scope (line 33) |
---|
| 18 | C: 41:data_files: Operator not followed by a space |
---|
| 19 | data_files =[] |
---|
| 20 | ^ |
---|
| 21 | C: 43:data_files: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
---|
| 22 | ************* Module sans.perspectives.calculator.aperture_editor |
---|
| 23 | C: 43: Line too long (82/80) |
---|
| 24 | C: 58: Line too long (89/80) |
---|
| 25 | C: 77: Line too long (84/80) |
---|
| 26 | C: 79: Line too long (87/80) |
---|
| 27 | C: 82: Line too long (82/80) |
---|
| 28 | C: 90: Line too long (85/80) |
---|
| 29 | C:101: Line too long (88/80) |
---|
| 30 | C:103: Line too long (88/80) |
---|
| 31 | C:105: Line too long (89/80) |
---|
| 32 | C:107: Line too long (92/80) |
---|
| 33 | C:108: Line too long (87/80) |
---|
| 34 | C:110: Line too long (81/80) |
---|
| 35 | C:112: Line too long (81/80) |
---|
| 36 | C:114: Line too long (81/80) |
---|
| 37 | C:116: Line too long (85/80) |
---|
| 38 | C:252: Line too long (84/80) |
---|
| 39 | C:286: Line too long (89/80) |
---|
| 40 | C:289: Line too long (84/80) |
---|
| 41 | C:291: Line too long (82/80) |
---|
| 42 | C:301: Line too long (89/80) |
---|
| 43 | C:304: Line too long (83/80) |
---|
| 44 | C:306: Line too long (82/80) |
---|
| 45 | C:322: Line too long (82/80) |
---|
| 46 | W:350: Bad indentation. Found 13 spaces, expected 12 |
---|
| 47 | C: 1: Missing docstring |
---|
| 48 | R: 20:ApertureDialog: Too many instance attributes (26/7) |
---|
| 49 | C: 20:ApertureDialog: Missing docstring |
---|
| 50 | W: 21:ApertureDialog.__init__: Redefining name 'aperture' from outer scope (line |
---|
| 51 | 359) |
---|
| 52 | C: 21:ApertureDialog.__init__: Comma not followed by a space |
---|
| 53 | def __init__(self, parent=None, manager=None,aperture=None, *args, **kwds): |
---|
| 54 | ^^ |
---|
| 55 | C: 25:ApertureDialog.__init__: Operator not followed by a space |
---|
| 56 | kwds['size'] =(PANEL_WIDTH, PANEL_HEIGHT) |
---|
| 57 | ^ |
---|
| 58 | W: 33:ApertureDialog.__init__: Unused variable 'self_description' |
---|
| 59 | C: 42:ApertureDialog._define_structure: Comma not followed by a space |
---|
| 60 | self.box_aperture = wx.StaticBox(self, -1,str("Aperture")) |
---|
| 61 | ^^ |
---|
| 62 | C: 79:ApertureDialog._layout_distance: Comma not followed by a space |
---|
| 63 | self.distance_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20),sty |
---|
| 64 | le=0) |
---|
| 65 | ^^ |
---|
| 66 | C:101:ApertureDialog._layout_size: Comma not followed by a space |
---|
| 67 | self.x_aperture_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), s |
---|
| 68 | tyle=0) |
---|
| 69 | ^^ |
---|
| 70 | C:103:ApertureDialog._layout_size: Comma not followed by a space |
---|
| 71 | self.y_aperture_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), s |
---|
| 72 | tyle=0) |
---|
| 73 | ^^ |
---|
| 74 | C:105:ApertureDialog._layout_size: Comma not followed by a space |
---|
| 75 | self.z_aperture_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), s |
---|
| 76 | tyle=0) |
---|
| 77 | ^^ |
---|
| 78 | C:107:ApertureDialog._layout_size: Comma not followed by a space |
---|
| 79 | self.aperture_size_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20) |
---|
| 80 | , style=0) |
---|
| 81 | ^^ |
---|
| 82 | W:134:ApertureDialog._do_layout: Unused argument 'data' |
---|
| 83 | W:186:ApertureDialog.set_values: Redefining name 'aperture' from outer scope (li |
---|
| 84 | ne 359) |
---|
| 85 | C:198:ApertureDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{ |
---|
| 86 | 2,30}$) |
---|
| 87 | C:198:ApertureDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{ |
---|
| 88 | 2,30}$) |
---|
| 89 | C:198:ApertureDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{ |
---|
| 90 | 2,30}$) |
---|
| 91 | C:226:ApertureDialog.on_change_name: Operator not followed by a space |
---|
| 92 | self._notes += "name from %s to %s \n"%(self._aperture.name, name) |
---|
| 93 | ^ |
---|
| 94 | W:234:ApertureDialog.on_change_type: Redefining built-in 'type' |
---|
| 95 | C:237:ApertureDialog.on_change_type: Operator not followed by a space |
---|
| 96 | self._notes += " %s to %s \n"%(self._aperture.type, type) |
---|
| 97 | ^ |
---|
| 98 | C:252:ApertureDialog.on_change_distance: Operator not followed by a space |
---|
| 99 | self._notes += "%s to %s \n"%(self._aperture.distance, dista |
---|
| 100 | nce) |
---|
| 101 | ^ |
---|
| 102 | C:257:ApertureDialog.on_change_distance: Operator not followed by a space |
---|
| 103 | self._notes += "%s to %s"%(self._aperture.distance, distance) |
---|
| 104 | ^ |
---|
| 105 | C:262:ApertureDialog.on_change_distance: Operator not followed by a space |
---|
| 106 | self._notes += "%s to %s"%(self._aperture.distance_unit, unit) |
---|
| 107 | ^ |
---|
| 108 | C:272:ApertureDialog.on_change_size_name: Operator not followed by a space |
---|
| 109 | self._notes += " %s to %s \n"%(self._aperture.size_name, size_name) |
---|
| 110 | ^ |
---|
| 111 | C:286:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 112 | self._notes += "%s to %s \n"%(self._aperture.size.x, x_apert |
---|
| 113 | ure_size) |
---|
| 114 | ^ |
---|
| 115 | C:291:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 116 | self._notes += "%s to %s"%(self._aperture.size.x, x_aperture_siz |
---|
| 117 | e) |
---|
| 118 | ^ |
---|
| 119 | C:301:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 120 | self._notes += "%s to %s \n"%(self._aperture.size.y, y_apert |
---|
| 121 | ure_size) |
---|
| 122 | ^ |
---|
| 123 | C:306:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 124 | self._notes += "%s to %s"%(self._aperture.size.y, y_aperture_siz |
---|
| 125 | e) |
---|
| 126 | ^ |
---|
| 127 | C:316:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 128 | self._notes += "%s to %s \n"%(self._aperture.size.z, |
---|
| 129 | ^ |
---|
| 130 | z_aperture_size) |
---|
| 131 | C:322:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 132 | self._notes += "%s to %s"%(self._aperture.size.z, z_aperture_siz |
---|
| 133 | e) |
---|
| 134 | ^ |
---|
| 135 | C:327:ApertureDialog.on_change_size: Operator not followed by a space |
---|
| 136 | self._notes += "%s to %s"%(self._aperture.size_unit, unit) |
---|
| 137 | ^ |
---|
| 138 | R:274:ApertureDialog.on_change_size: Too many branches (13/12) |
---|
| 139 | W:330:ApertureDialog.on_click_apply: Unused argument 'event' |
---|
| 140 | W:343:ApertureDialog.on_click_cancel: Unused argument 'event' |
---|
| 141 | R: 20:ApertureDialog: Too many public methods (295/20) |
---|
| 142 | W:128:ApertureDialog._layout_button: Attribute 'bt_close' defined outside __init |
---|
| 143 | __ |
---|
| 144 | W: 43:ApertureDialog._define_structure: Attribute 'boxsizer_aperture' defined ou |
---|
| 145 | tside __init__ |
---|
| 146 | W: 79:ApertureDialog._layout_distance: Attribute 'distance_unit_tcl' defined out |
---|
| 147 | side __init__ |
---|
| 148 | W: 67:ApertureDialog._layout_type: Attribute 'type_tcl' defined outside __init__ |
---|
| 149 | |
---|
| 150 | W:105:ApertureDialog._layout_size: Attribute 'z_aperture_size_tcl' defined outsi |
---|
| 151 | de __init__ |
---|
| 152 | W: 50:ApertureDialog._define_structure: Attribute 'button_sizer' defined outside |
---|
| 153 | __init__ |
---|
| 154 | W: 58:ApertureDialog._layout_name: Attribute 'aperture_name_tcl' defined outside |
---|
| 155 | __init__ |
---|
| 156 | W: 77:ApertureDialog._layout_distance: Attribute 'distance_tcl' defined outside |
---|
| 157 | __init__ |
---|
| 158 | W:122:ApertureDialog._layout_button: Attribute 'bt_apply' defined outside __init |
---|
| 159 | __ |
---|
| 160 | W: 48:ApertureDialog._define_structure: Attribute 'size_name_sizer' defined outs |
---|
| 161 | ide __init__ |
---|
| 162 | W:125:ApertureDialog._layout_button: Attribute 'bt_cancel' defined outside __ini |
---|
| 163 | t__ |
---|
| 164 | W:103:ApertureDialog._layout_size: Attribute 'y_aperture_size_tcl' defined outsi |
---|
| 165 | de __init__ |
---|
| 166 | W: 90:ApertureDialog._layout_size_name: Attribute 'size_name_tcl' defined outsid |
---|
| 167 | e __init__ |
---|
| 168 | W:107:ApertureDialog._layout_size: Attribute 'aperture_size_unit_tcl' defined ou |
---|
| 169 | tside __init__ |
---|
| 170 | W: 45:ApertureDialog._define_structure: Attribute 'name_sizer' defined outside _ |
---|
| 171 | _init__ |
---|
| 172 | W: 41:ApertureDialog._define_structure: Attribute 'main_sizer' defined outside _ |
---|
| 173 | _init__ |
---|
| 174 | W: 49:ApertureDialog._define_structure: Attribute 'aperture_size_sizer' defined |
---|
| 175 | outside __init__ |
---|
| 176 | W:101:ApertureDialog._layout_size: Attribute 'x_aperture_size_tcl' defined outsi |
---|
| 177 | de __init__ |
---|
| 178 | W: 46:ApertureDialog._define_structure: Attribute 'type_sizer' defined outside _ |
---|
| 179 | _init__ |
---|
| 180 | W: 47:ApertureDialog._define_structure: Attribute 'distance_sizer' defined outsi |
---|
| 181 | de __init__ |
---|
| 182 | W: 42:ApertureDialog._define_structure: Attribute 'box_aperture' defined outside |
---|
| 183 | __init__ |
---|
| 184 | C:352: Operator not followed by a space |
---|
| 185 | if __name__ =="__main__": |
---|
| 186 | ^^ |
---|
| 187 | C:354: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 188 | C:356: Invalid name "loader" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 189 | C:359: Invalid name "aperture" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 190 | C:360: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 191 | ************* Module sans.perspectives.calculator.calculator |
---|
| 192 | C:127: Line too long (82/80) |
---|
| 193 | W: 74: TODO: replace the text with a nice image |
---|
| 194 | C: 1: Missing docstring |
---|
| 195 | W: 21:Plugin.__init__: Unused argument 'standalone' |
---|
| 196 | W: 37:Plugin.populate_menu: Redefining built-in 'id' |
---|
| 197 | C: 37:Plugin.populate_menu: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30 |
---|
| 198 | }$) |
---|
| 199 | C: 37:Plugin.populate_menu: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30 |
---|
| 200 | }$) |
---|
| 201 | W: 37:Plugin.populate_menu: Unused argument 'owner' |
---|
| 202 | W: 37:Plugin.populate_menu: Unused argument 'id' |
---|
| 203 | R: 37:Plugin.populate_menu: Method could be a function |
---|
| 204 | W: 77:Plugin.help: Relative import 'help_panel', should be 'sans.perspectives.ca |
---|
| 205 | lculator.help_panel' |
---|
| 206 | W: 70:Plugin.help: Unused argument 'evt' |
---|
| 207 | R: 70:Plugin.help: Method could be a function |
---|
| 208 | W: 81:Plugin.get_context_menu: Unused argument 'graph' |
---|
| 209 | R: 81:Plugin.get_context_menu: Method could be a function |
---|
| 210 | W:116:Plugin.get_tools: Unused variable 'data_editor_help' |
---|
| 211 | W:126:Plugin.on_edit_data: Relative import 'data_editor', should be 'sans.perspe |
---|
| 212 | ctives.calculator.data_editor' |
---|
| 213 | W:122:Plugin.on_edit_data: Unused argument 'event' |
---|
| 214 | W:134:Plugin.on_calculate_sld: Relative import 'sld_panel', should be 'sans.pers |
---|
| 215 | pectives.calculator.sld_panel' |
---|
| 216 | W:130:Plugin.on_calculate_sld: Unused argument 'event' |
---|
| 217 | W:142:Plugin.on_calculate_slit_size: Relative import 'slit_length_calculator_pan |
---|
| 218 | el', should be 'sans.perspectives.calculator.slit_length_calculator_panel' |
---|
| 219 | W:138:Plugin.on_calculate_slit_size: Unused argument 'event' |
---|
| 220 | W:146:Plugin.on_perspective: Unused argument 'event' |
---|
| 221 | W: 12: Unused import wx |
---|
| 222 | ************* Module sans.perspectives.calculator.calculator_widgets |
---|
| 223 | C: 22: Line too long (83/80) |
---|
| 224 | W: 23:InputTextCtrl.__init__: Unused variable 'full_selection' |
---|
| 225 | C: 54:InputTextCtrl._highlight_text: Operator not preceded by a space |
---|
| 226 | if start==end: |
---|
| 227 | ^^ |
---|
| 228 | C: 55:InputTextCtrl._highlight_text: Comma not followed by a space |
---|
| 229 | control.SetSelection(-1,-1) |
---|
| 230 | ^^ |
---|
| 231 | R: 13:InputTextCtrl: Too many public methods (304/20) |
---|
| 232 | W: 48:InputTextCtrl._highlight_text: Attribute 'full_selection' defined outside |
---|
| 233 | __init__ |
---|
| 234 | R: 58:InterActiveOutputTextCtrl: Too many public methods (304/20) |
---|
| 235 | R: 69:OutputTextCtrl: Too many public methods (304/20) |
---|
| 236 | W: 11: Unused import os |
---|
| 237 | ************* Module sans.perspectives.calculator.collimation_editor |
---|
| 238 | C: 47: Line too long (86/80) |
---|
| 239 | C: 48: Line too long (88/80) |
---|
| 240 | C: 82: Line too long (81/80) |
---|
| 241 | C: 85: Line too long (86/80) |
---|
| 242 | C: 88: Line too long (82/80) |
---|
| 243 | C: 92: Line too long (87/80) |
---|
| 244 | C: 93: Line too long (83/80) |
---|
| 245 | C:115: Line too long (82/80) |
---|
| 246 | C:117: Line too long (85/80) |
---|
| 247 | C:167: Line too long (81/80) |
---|
| 248 | C:254: Line too long (82/80) |
---|
| 249 | C:277: Line too long (82/80) |
---|
| 250 | C:281: Line too long (83/80) |
---|
| 251 | C:301: Line too long (81/80) |
---|
| 252 | W:520: Bad indentation. Found 13 spaces, expected 12 |
---|
| 253 | C: 1: Missing docstring |
---|
| 254 | W: 7: Relative import 'aperture_editor', should be 'sans.perspectives.calculato |
---|
| 255 | r.aperture_editor' |
---|
| 256 | R: 23:CollimationDialog: Too many instance attributes (33/7) |
---|
| 257 | C: 23:CollimationDialog: Empty docstring |
---|
| 258 | W: 26:CollimationDialog.__init__: Dangerous default value [] as argument |
---|
| 259 | C: 30:CollimationDialog.__init__: Operator not followed by a space |
---|
| 260 | kwds['size'] =(PANEL_WIDTH, PANEL_HEIGHT) |
---|
| 261 | ^ |
---|
| 262 | C: 47:CollimationDialog._define_structure: Comma not followed by a space |
---|
| 263 | self.box_collimation = wx.StaticBox(self, -1,str("Edit Selected Collimat |
---|
| 264 | ion")) |
---|
| 265 | ^^ |
---|
| 266 | C:117:CollimationDialog._layout_length: Comma not followed by a space |
---|
| 267 | self.length_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20),style |
---|
| 268 | =0) |
---|
| 269 | ^^ |
---|
| 270 | W:172:CollimationDialog._do_layout: Unused argument 'data' |
---|
| 271 | C:196:CollimationDialog.get_current_collimation: Empty docstring |
---|
| 272 | W:220:CollimationDialog.add_collimation: Unused argument 'event' |
---|
| 273 | W:238:CollimationDialog.remove_collimation: Unused argument 'event' |
---|
| 274 | W:265:CollimationDialog.on_select_collimation: Unused argument 'event' |
---|
| 275 | C:281:CollimationDialog.enable_collimation: Operator not followed by a space |
---|
| 276 | collimation_hint_txt = 'collimations available: %s '%str(n_collimati |
---|
| 277 | on) |
---|
| 278 | ^ |
---|
| 279 | W:305:CollimationDialog.add_aperture: Unused argument 'event' |
---|
| 280 | W:329:CollimationDialog.edit_aperture: Redefining name 'dlg' from outer scope (l |
---|
| 281 | ine 526) |
---|
| 282 | W:327:CollimationDialog.edit_aperture: Unused variable 'name' |
---|
| 283 | W:319:CollimationDialog.edit_aperture: Unused argument 'event' |
---|
| 284 | W:333:CollimationDialog.remove_aperture: Unused argument 'event' |
---|
| 285 | C:380:CollimationDialog.enable_aperture: Operator not followed by a space |
---|
| 286 | aperture_hint_txt = 'apertures available: %s '%str(n_aperture) |
---|
| 287 | ^ |
---|
| 288 | C:468:CollimationDialog.on_change_name: Operator not followed by a space |
---|
| 289 | self._notes += "name from %s to %s \n"%(collimation.name, name) |
---|
| 290 | ^ |
---|
| 291 | W:459:CollimationDialog.on_change_name: Unused variable 'collimation_name' |
---|
| 292 | C:490:CollimationDialog.on_change_length: Operator not followed by a space |
---|
| 293 | self._notes += "%s to %s \n"%(collimation.length, length) |
---|
| 294 | ^ |
---|
| 295 | C:495:CollimationDialog.on_change_length: Operator not followed by a space |
---|
| 296 | self._notes += "%s to %s"%(collimation.length, length) |
---|
| 297 | ^ |
---|
| 298 | C:500:CollimationDialog.on_change_length: Operator not followed by a space |
---|
| 299 | self._notes += "%s to %s"%(collimation.length_unit, unit) |
---|
| 300 | ^ |
---|
| 301 | W:478:CollimationDialog.on_change_length: Unused variable 'position' |
---|
| 302 | W:478:CollimationDialog.on_change_length: Unused variable 'collimation_name' |
---|
| 303 | W:503:CollimationDialog.on_click_apply: Unused argument 'event' |
---|
| 304 | W:513:CollimationDialog.on_click_cancel: Unused argument 'event' |
---|
| 305 | R: 23:CollimationDialog: Too many public methods (305/20) |
---|
| 306 | W:133:CollimationDialog._layout_button: Attribute 'bt_close' defined outside __i |
---|
| 307 | nit__ |
---|
| 308 | W: 81:CollimationDialog._layout_collimation: Attribute 'bt_remove_collimation' d |
---|
| 309 | efined outside __init__ |
---|
| 310 | W: 62:CollimationDialog._define_structure: Attribute 'aperture_button_sizer' def |
---|
| 311 | ined outside __init__ |
---|
| 312 | W:152:CollimationDialog._layout_aperture: Attribute 'bt_edit_aperture' defined o |
---|
| 313 | utside __init__ |
---|
| 314 | W: 77:CollimationDialog._layout_collimation: Attribute 'bt_add_collimation' defi |
---|
| 315 | ned outside __init__ |
---|
| 316 | W: 58:CollimationDialog._define_structure: Attribute 'button_sizer' defined outs |
---|
| 317 | ide __init__ |
---|
| 318 | W:165:CollimationDialog._layout_aperture: Attribute 'aperture_txt' defined outsi |
---|
| 319 | de __init__ |
---|
| 320 | W: 47:CollimationDialog._define_structure: Attribute 'box_collimation' defined o |
---|
| 321 | utside __init__ |
---|
| 322 | W:127:CollimationDialog._layout_button: Attribute 'bt_apply' defined outside __i |
---|
| 323 | nit__ |
---|
| 324 | W:117:CollimationDialog._layout_length: Attribute 'length_unit_tcl' defined outs |
---|
| 325 | ide __init__ |
---|
| 326 | W: 54:CollimationDialog._define_structure: Attribute 'collimation_hint_sizer' de |
---|
| 327 | fined outside __init__ |
---|
| 328 | W:130:CollimationDialog._layout_button: Attribute 'bt_cancel' defined outside __ |
---|
| 329 | init__ |
---|
| 330 | W: 72:CollimationDialog._layout_collimation: Attribute 'collimation_cbox' define |
---|
| 331 | d outside __init__ |
---|
| 332 | W: 57:CollimationDialog._define_structure: Attribute 'length_sizer' defined outs |
---|
| 333 | ide __init__ |
---|
| 334 | W: 48:CollimationDialog._define_structure: Attribute 'boxsizer_collimation' defi |
---|
| 335 | ned outside __init__ |
---|
| 336 | W:155:CollimationDialog._layout_aperture: Attribute 'bt_remove_aperture' defined |
---|
| 337 | outside __init__ |
---|
| 338 | W:105:CollimationDialog._layout_name: Attribute 'name_tcl' defined outside __ini |
---|
| 339 | t__ |
---|
| 340 | W: 51:CollimationDialog._define_structure: Attribute 'collimation_sizer' defined |
---|
| 341 | outside __init__ |
---|
| 342 | W: 56:CollimationDialog._define_structure: Attribute 'name_sizer' defined outsid |
---|
| 343 | e __init__ |
---|
| 344 | W: 61:CollimationDialog._define_structure: Attribute 'aperture_sizer' defined ou |
---|
| 345 | tside __init__ |
---|
| 346 | W:115:CollimationDialog._layout_length: Attribute 'length_tcl' defined outside _ |
---|
| 347 | _init__ |
---|
| 348 | W: 46:CollimationDialog._define_structure: Attribute 'main_sizer' defined outsid |
---|
| 349 | e __init__ |
---|
| 350 | W:145:CollimationDialog._layout_aperture: Attribute 'aperture_cbox' defined outs |
---|
| 351 | ide __init__ |
---|
| 352 | W: 53:CollimationDialog._define_structure: Attribute 'collimation_button_sizer' |
---|
| 353 | defined outside __init__ |
---|
| 354 | W:149:CollimationDialog._layout_aperture: Attribute 'bt_add_aperture' defined ou |
---|
| 355 | tside __init__ |
---|
| 356 | W: 90:CollimationDialog._layout_collimation: Attribute 'collimation_txt' defined |
---|
| 357 | outside __init__ |
---|
| 358 | W: 63:CollimationDialog._define_structure: Attribute 'aperture_hint_sizer' defin |
---|
| 359 | ed outside __init__ |
---|
| 360 | C:523: Operator not followed by a space |
---|
| 361 | if __name__ =="__main__": |
---|
| 362 | ^^ |
---|
| 363 | C:525: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 364 | C:526: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 365 | W: 5: Unused import Loader |
---|
| 366 | ************* Module sans.perspectives.calculator.console |
---|
| 367 | C: 1: Missing docstring |
---|
| 368 | W: 5: Reimport 'wx' (imported line 1) |
---|
| 369 | C: 23:ConsoleDialog: Missing docstring |
---|
| 370 | W: 24:ConsoleDialog.__init__: Redefining name 'data' from outer scope (line 59) |
---|
| 371 | W: 24:ConsoleDialog.__init__: Redefining built-in 'id' |
---|
| 372 | C: 24:ConsoleDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2, |
---|
| 373 | 30}$) |
---|
| 374 | R: 24:ConsoleDialog.__init__: Too many arguments (7/5) |
---|
| 375 | C: 24:ConsoleDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2, |
---|
| 376 | 30}$) |
---|
| 377 | C: 43:ConsoleDialog.set_manager: Empty docstring |
---|
| 378 | C: 48:ConsoleDialog.set_message: Empty docstring |
---|
| 379 | R: 23:ConsoleDialog: Too many public methods (285/20) |
---|
| 380 | C: 53: Operator not followed by a space |
---|
| 381 | if __name__ =="__main__": |
---|
| 382 | ^^ |
---|
| 383 | C: 55: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 384 | C: 57: Invalid name "loader" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 385 | C: 59: Invalid name "data" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 386 | C: 60: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 387 | ************* Module sans.perspectives.calculator.data_editor |
---|
| 388 | C: 45: Line too long (92/80) |
---|
| 389 | C: 47: Line too long (93/80) |
---|
| 390 | W: 57: Bad indentation. Found 9 spaces, expected 8 |
---|
| 391 | W: 58: Bad indentation. Found 9 spaces, expected 8 |
---|
| 392 | W: 59: Bad indentation. Found 9 spaces, expected 8 |
---|
| 393 | W: 60: Bad indentation. Found 9 spaces, expected 8 |
---|
| 394 | W: 61: Bad indentation. Found 9 spaces, expected 8 |
---|
| 395 | W: 62: Bad indentation. Found 9 spaces, expected 8 |
---|
| 396 | W: 63: Bad indentation. Found 9 spaces, expected 8 |
---|
| 397 | W: 64: Bad indentation. Found 9 spaces, expected 8 |
---|
| 398 | W: 65: Bad indentation. Found 9 spaces, expected 8 |
---|
| 399 | W: 66: Bad indentation. Found 9 spaces, expected 8 |
---|
| 400 | W: 67: Bad indentation. Found 9 spaces, expected 8 |
---|
| 401 | W: 68: Bad indentation. Found 9 spaces, expected 8 |
---|
| 402 | W: 69: Bad indentation. Found 9 spaces, expected 8 |
---|
| 403 | W: 70: Bad indentation. Found 9 spaces, expected 8 |
---|
| 404 | W: 71: Bad indentation. Found 13 spaces, expected 12 |
---|
| 405 | W: 72: Bad indentation. Found 13 spaces, expected 12 |
---|
| 406 | C:129: Line too long (100/80) |
---|
| 407 | C:188: Line too long (83/80) |
---|
| 408 | C:440: Line too long (97/80) |
---|
| 409 | C:452: Line too long (89/80) |
---|
| 410 | C:512: Line too long (89/80) |
---|
| 411 | C: 1: Missing docstring |
---|
| 412 | W: 9: Relative import 'detector_editor', should be 'sans.perspectives.calculato |
---|
| 413 | r.detector_editor' |
---|
| 414 | W: 10: Relative import 'collimation_editor', should be 'sans.perspectives.calcul |
---|
| 415 | ator.collimation_editor' |
---|
| 416 | W: 11: Relative import 'console', should be 'sans.perspectives.calculator.consol |
---|
| 417 | e' |
---|
| 418 | R: 51:DataEditorPanel: Too many instance attributes (31/7) |
---|
| 419 | W: 56:DataEditorPanel.__init__: Dangerous default value [] as argument |
---|
| 420 | C: 58:DataEditorPanel.__init__: Operator not preceded by a space |
---|
| 421 | kwds["size"]= (PANEL_WIDTH, PANEL_HEIGTH) |
---|
| 422 | ^ |
---|
| 423 | W: 65:DataEditorPanel.__init__: Unused variable 'self_description' |
---|
| 424 | W:101:DataEditorPanel._layout_name: Redefining built-in 'id' |
---|
| 425 | C:101:DataEditorPanel._layout_name: Invalid name "id" (should match [a-z_][a-z0- |
---|
| 426 | 9_]{2,30}$) |
---|
| 427 | E:180:DataEditorPanel._layout_source: Instance of 'DataEditorPanel' has no 'sour |
---|
| 428 | ce_sizer' member |
---|
| 429 | E:192:DataEditorPanel._layout_summary: Instance of 'DataEditorPanel' has no 'sum |
---|
| 430 | mary_sizer' member |
---|
| 431 | C:198:DataEditorPanel._layout_button: Comma not followed by a space |
---|
| 432 | self.bt_summary = wx.Button(self, -1, "View", size=(_BOX_WIDTH,-1)) |
---|
| 433 | ^^ |
---|
| 434 | C:202:DataEditorPanel._layout_button: Comma not followed by a space |
---|
| 435 | self.bt_save = wx.Button(self, -1, "Save As", size=(_BOX_WIDTH,-1)) |
---|
| 436 | ^^ |
---|
| 437 | C:206:DataEditorPanel._layout_button: Comma not followed by a space |
---|
| 438 | self.bt_apply = wx.Button(self, -1, "Apply", size=(_BOX_WIDTH,-1)) |
---|
| 439 | ^^ |
---|
| 440 | C:210:DataEditorPanel._layout_button: Comma not followed by a space |
---|
| 441 | self.bt_reset = wx.Button(self, -1,'Reset', size=(_BOX_WIDTH,-1)) |
---|
| 442 | ^^ |
---|
| 443 | C:214:DataEditorPanel._layout_button: Comma not followed by a space |
---|
| 444 | self.bt_close = wx.Button(self, -1,'Close', size=(_BOX_WIDTH,-1)) |
---|
| 445 | ^^ |
---|
| 446 | C:246:DataEditorPanel._do_layout: Comma not followed by a space |
---|
| 447 | self.SetScrollbars(20,20,25,65) |
---|
| 448 | ^^ |
---|
| 449 | W:224:DataEditorPanel._do_layout: Unused argument 'data' |
---|
| 450 | C:267:DataEditorPanel.reset_panel: Empty docstring |
---|
| 451 | C:274:DataEditorPanel.on_select_data: Empty docstring |
---|
| 452 | W:277:DataEditorPanel.on_select_data: Unused variable 'position' |
---|
| 453 | W:277:DataEditorPanel.on_select_data: Unused variable 'data_name' |
---|
| 454 | W:274:DataEditorPanel.on_select_data: Unused argument 'event' |
---|
| 455 | C:288:DataEditorPanel.get_current_data: Empty docstring |
---|
| 456 | C:298:DataEditorPanel.enable_data_cbox: Empty docstring |
---|
| 457 | C:314:DataEditorPanel.reset_radiobox: Empty docstring |
---|
| 458 | W:326:DataEditorPanel.set_sample: Unused variable 'position' |
---|
| 459 | W:326:DataEditorPanel.set_sample: Unused variable 'data_name' |
---|
| 460 | W:337:DataEditorPanel.set_source: Unused variable 'position' |
---|
| 461 | W:337:DataEditorPanel.set_source: Unused variable 'data_name' |
---|
| 462 | W:348:DataEditorPanel.set_detector: Unused variable 'position' |
---|
| 463 | W:348:DataEditorPanel.set_detector: Unused variable 'data_name' |
---|
| 464 | W:359:DataEditorPanel.set_collimation: Unused variable 'position' |
---|
| 465 | W:359:DataEditorPanel.set_collimation: Unused variable 'data_name' |
---|
| 466 | W:370:DataEditorPanel.edit_collimation: Unused variable 'position' |
---|
| 467 | W:370:DataEditorPanel.edit_collimation: Unused variable 'data_name' |
---|
| 468 | W:381:DataEditorPanel.edit_detector: Unused variable 'position' |
---|
| 469 | W:381:DataEditorPanel.edit_detector: Unused variable 'data_name' |
---|
| 470 | W:395:DataEditorPanel.edit_sample: Relative import 'sample_editor', should be 's |
---|
| 471 | ans.perspectives.calculator.sample_editor' |
---|
| 472 | W:392:DataEditorPanel.edit_sample: Unused variable 'position' |
---|
| 473 | W:392:DataEditorPanel.edit_sample: Unused variable 'data_name' |
---|
| 474 | W:407:DataEditorPanel.edit_source: Relative import 'source_editor', should be 's |
---|
| 475 | ans.perspectives.calculator.source_editor' |
---|
| 476 | W:404:DataEditorPanel.edit_source: Unused variable 'position' |
---|
| 477 | W:404:DataEditorPanel.edit_source: Unused variable 'data_name' |
---|
| 478 | C:420:DataEditorPanel.choose_data_file: Invalid name "l" (should match [a-z_][a- |
---|
| 479 | z0-9_]{2,30}$) |
---|
| 480 | W:427:DataEditorPanel.choose_data_file: Unused variable 'mypath' |
---|
| 481 | C:440:DataEditorPanel.complete_loading: Comma not followed by a space |
---|
| 482 | wx.PostEvent(self.parent.parent, StatusEvent(status=msg, info="warni |
---|
| 483 | ng",type='stop')) |
---|
| 484 | |
---|
| 485 | ^^ |
---|
| 486 | C:452:DataEditorPanel.complete_loading: Comma not followed by a space |
---|
| 487 | wx.PostEvent(self.parent.parent, StatusEvent(status=msg,info="info",type |
---|
| 488 | ='stop')) |
---|
| 489 | ^^ |
---|
| 490 | W:432:DataEditorPanel.complete_loading: Unused argument 'filename' |
---|
| 491 | C:487:DataEditorPanel.on_change_run: Operator not followed by a space |
---|
| 492 | self._notes += "run from %s to %s \n"%(data.run, str(run)) |
---|
| 493 | ^ |
---|
| 494 | W:480:DataEditorPanel.on_change_run: Unused variable 'data_name' |
---|
| 495 | W:480:DataEditorPanel.on_change_run: Unused variable 'position' |
---|
| 496 | W:475:DataEditorPanel.on_change_run: Unused argument 'event' |
---|
| 497 | C:500:DataEditorPanel.on_change_title: Operator not followed by a space |
---|
| 498 | self._notes += "title from %s to %s \n"%(data.title, str(title)) |
---|
| 499 | ^ |
---|
| 500 | W:494:DataEditorPanel.on_change_title: Unused variable 'position' |
---|
| 501 | W:494:DataEditorPanel.on_change_title: Unused variable 'data_name' |
---|
| 502 | W:490:DataEditorPanel.on_change_title: Unused argument 'event' |
---|
| 503 | C:512:DataEditorPanel.on_click_browse: Comma not followed by a space |
---|
| 504 | wx.PostEvent(self.parent.parent, StatusEvent(status="Loading...",inf |
---|
| 505 | o="info", |
---|
| 506 | ^^ |
---|
| 507 | type="progress")) |
---|
| 508 | W:528:DataEditorPanel.on_click_browse: No exception type(s) specified |
---|
| 509 | W:519:DataEditorPanel.on_click_browse: Relative import 'load_thread', should be |
---|
| 510 | 'sans.perspectives.calculator.load_thread' |
---|
| 511 | E:521:DataEditorPanel.on_click_browse: Instance of 'DataReader' has no 'isrunnin |
---|
| 512 | g' member |
---|
| 513 | E:522:DataEditorPanel.on_click_browse: Instance of 'DataReader' has no 'stop' me |
---|
| 514 | mber |
---|
| 515 | E:526:DataEditorPanel.on_click_browse: Instance of 'DataReader' has no 'queue' m |
---|
| 516 | ember |
---|
| 517 | C:528:DataEditorPanel.on_click_browse: Operator not followed by a space |
---|
| 518 | msg = "Data Editor: %s"%(sys.exc_value) |
---|
| 519 | ^ |
---|
| 520 | W:503:DataEditorPanel.on_click_browse: Unused argument 'event' |
---|
| 521 | C:532:DataEditorPanel.on_edit: Empty docstring |
---|
| 522 | W:532:DataEditorPanel.on_edit: Unused argument 'event' |
---|
| 523 | W:548:DataEditorPanel.on_click_apply: Unused variable 'position' |
---|
| 524 | W:548:DataEditorPanel.on_click_apply: Unused variable 'data_name' |
---|
| 525 | W:544:DataEditorPanel.on_click_apply: Unused argument 'event' |
---|
| 526 | W:586:DataEditorPanel.on_click_save: No exception type(s) specified |
---|
| 527 | W:555:DataEditorPanel.on_click_save: Unused argument 'event' |
---|
| 528 | W:593:DataEditorPanel.on_click_view: Unused variable 'position' |
---|
| 529 | W:593:DataEditorPanel.on_click_view: Unused variable 'data_name' |
---|
| 530 | W:589:DataEditorPanel.on_click_view: Unused argument 'event' |
---|
| 531 | C:601:DataEditorPanel.on_click_reset: Empty docstring |
---|
| 532 | C:607:DataEditorPanel.on_click_reset: Operator not preceded by a space |
---|
| 533 | self._data[position]= deepcopy(self._reset_data[position]) |
---|
| 534 | ^ |
---|
| 535 | W:604:DataEditorPanel.on_click_reset: Unused variable 'data_name' |
---|
| 536 | W:601:DataEditorPanel.on_click_reset: Unused argument 'event' |
---|
| 537 | W:610:DataEditorPanel.on_close: Unused argument 'event' |
---|
| 538 | R: 51:DataEditorPanel: Too many public methods (293/20) |
---|
| 539 | W:214:DataEditorPanel._layout_button: Attribute 'bt_close' defined outside __ini |
---|
| 540 | t__ |
---|
| 541 | W:156:DataEditorPanel._layout_editor: Attribute 'collimation_rb' defined outside |
---|
| 542 | __init__ |
---|
| 543 | W:158:DataEditorPanel._layout_editor: Attribute 'bt_edit' defined outside __init |
---|
| 544 | __ |
---|
| 545 | W:188:DataEditorPanel._layout_summary: Attribute 'data_summary' defined outside |
---|
| 546 | __init__ |
---|
| 547 | W:152:DataEditorPanel._layout_editor: Attribute 'detector_rb' defined outside __ |
---|
| 548 | init__ |
---|
| 549 | W:515:DataEditorPanel.on_click_browse: Attribute 'done' defined outside __init__ |
---|
| 550 | |
---|
| 551 | W:129:DataEditorPanel._layout_run: Attribute 'data_run_tcl' defined outside __in |
---|
| 552 | it__ |
---|
| 553 | W: 87:DataEditorPanel._define_structure: Attribute 'edit_sizer' defined outside |
---|
| 554 | __init__ |
---|
| 555 | W:154:DataEditorPanel._layout_editor: Attribute 'sample_rb' defined outside __in |
---|
| 556 | it__ |
---|
| 557 | W: 89:DataEditorPanel._define_structure: Attribute 'button_sizer' defined outsid |
---|
| 558 | e __init__ |
---|
| 559 | W:116:DataEditorPanel._layout_title: Attribute 'data_title_tcl' defined outside |
---|
| 560 | __init__ |
---|
| 561 | W: 83:DataEditorPanel._define_structure: Attribute 'run_sizer' defined outside _ |
---|
| 562 | _init__ |
---|
| 563 | W:210:DataEditorPanel._layout_button: Attribute 'bt_reset' defined outside __ini |
---|
| 564 | t__ |
---|
| 565 | W:206:DataEditorPanel._layout_button: Attribute 'bt_apply' defined outside __ini |
---|
| 566 | t__ |
---|
| 567 | W: 97:DataEditorPanel._layout_name: Attribute 'data_cbox' defined outside __init |
---|
| 568 | __ |
---|
| 569 | W: 84:DataEditorPanel._define_structure: Attribute 'instrument_sizer' defined ou |
---|
| 570 | tside __init__ |
---|
| 571 | W: 80:DataEditorPanel._define_structure: Attribute 'name_sizer' defined outside |
---|
| 572 | __init__ |
---|
| 573 | W:102:DataEditorPanel._layout_name: Attribute 'browse_button' defined outside __ |
---|
| 574 | init__ |
---|
| 575 | W:198:DataEditorPanel._layout_button: Attribute 'bt_summary' defined outside __i |
---|
| 576 | nit__ |
---|
| 577 | W: 78:DataEditorPanel._define_structure: Attribute 'main_sizer' defined outside |
---|
| 578 | __init__ |
---|
| 579 | W:177:DataEditorPanel._layout_source: Attribute 'bt_edit_source' defined outside |
---|
| 580 | __init__ |
---|
| 581 | W:142:DataEditorPanel._layout_instrument: Attribute 'instrument_tcl' defined out |
---|
| 582 | side __init__ |
---|
| 583 | W: 82:DataEditorPanel._define_structure: Attribute 'title_sizer' defined outside |
---|
| 584 | __init__ |
---|
| 585 | W:202:DataEditorPanel._layout_button: Attribute 'bt_save' defined outside __init |
---|
| 586 | __ |
---|
| 587 | W:155:DataEditorPanel._layout_editor: Attribute 'source_rb' defined outside __in |
---|
| 588 | it__ |
---|
| 589 | C:616:DataEditorWindow: Missing docstring |
---|
| 590 | C:618:DataEditorWindow.__init__: Operator not preceded by a space |
---|
| 591 | kwds["size"]= (PANEL_WIDTH, PANEL_HEIGTH) |
---|
| 592 | ^ |
---|
| 593 | R:616:DataEditorWindow: Too many public methods (288/20) |
---|
| 594 | C:630: Operator not followed by a space |
---|
| 595 | if __name__ =="__main__": |
---|
| 596 | ^^ |
---|
| 597 | C:632: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 598 | C:633: Invalid name "window" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 599 | W: 8: Unused import Collimation |
---|
| 600 | W: 8: Unused import Detector |
---|
| 601 | W: 8: Unused import DataInfo |
---|
| 602 | W: 13: Unused import check_float |
---|
| 603 | ************* Module sans.perspectives.calculator.detector_editor |
---|
| 604 | C: 22: Line too long (82/80) |
---|
| 605 | C: 88: Line too long (81/80) |
---|
| 606 | C:100: Line too long (91/80) |
---|
| 607 | C:101: Line too long (86/80) |
---|
| 608 | C:102: Line too long (81/80) |
---|
| 609 | C:107: Line too long (82/80) |
---|
| 610 | C:108: Line too long (81/80) |
---|
| 611 | C:110: Line too long (88/80) |
---|
| 612 | C:123: Line too long (82/80) |
---|
| 613 | C:125: Line too long (82/80) |
---|
| 614 | C:127: Line too long (83/80) |
---|
| 615 | C:129: Line too long (84/80) |
---|
| 616 | C:147: Line too long (87/80) |
---|
| 617 | C:149: Line too long (87/80) |
---|
| 618 | C:151: Line too long (88/80) |
---|
| 619 | C:153: Line too long (90/80) |
---|
| 620 | C:154: Line too long (83/80) |
---|
| 621 | C:162: Line too long (84/80) |
---|
| 622 | C:171: Line too long (87/80) |
---|
| 623 | C:173: Line too long (87/80) |
---|
| 624 | C:175: Line too long (88/80) |
---|
| 625 | C:177: Line too long (89/80) |
---|
| 626 | C:186: Line too long (85/80) |
---|
| 627 | C:195: Line too long (85/80) |
---|
| 628 | C:197: Line too long (85/80) |
---|
| 629 | C:199: Line too long (86/80) |
---|
| 630 | C:201: Line too long (89/80) |
---|
| 631 | C:210: Line too long (82/80) |
---|
| 632 | C:218: Line too long (83/80) |
---|
| 633 | C:220: Line too long (91/80) |
---|
| 634 | C:224: Line too long (82/80) |
---|
| 635 | C:415: Line too long (88/80) |
---|
| 636 | C:421: Line too long (88/80) |
---|
| 637 | C:427: Line too long (85/80) |
---|
| 638 | C:487: Line too long (88/80) |
---|
| 639 | C:546: Line too long (81/80) |
---|
| 640 | C:552: Line too long (83/80) |
---|
| 641 | C:579: Line too long (88/80) |
---|
| 642 | C:582: Line too long (82/80) |
---|
| 643 | C:584: Line too long (81/80) |
---|
| 644 | C:594: Line too long (88/80) |
---|
| 645 | C:597: Line too long (81/80) |
---|
| 646 | C:599: Line too long (81/80) |
---|
| 647 | C:609: Line too long (88/80) |
---|
| 648 | C:612: Line too long (82/80) |
---|
| 649 | C:614: Line too long (81/80) |
---|
| 650 | C:642: Line too long (88/80) |
---|
| 651 | C:645: Line too long (82/80) |
---|
| 652 | C:647: Line too long (81/80) |
---|
| 653 | C:657: Line too long (88/80) |
---|
| 654 | C:660: Line too long (82/80) |
---|
| 655 | C:662: Line too long (81/80) |
---|
| 656 | C:672: Line too long (88/80) |
---|
| 657 | C:677: Line too long (81/80) |
---|
| 658 | C:703: Line too long (86/80) |
---|
| 659 | C:706: Line too long (81/80) |
---|
| 660 | C:718: Line too long (86/80) |
---|
| 661 | C:733: Line too long (86/80) |
---|
| 662 | C:765: Line too long (85/80) |
---|
| 663 | C:768: Line too long (91/80) |
---|
| 664 | W:787: Bad indentation. Found 13 spaces, expected 12 |
---|
| 665 | C: 1: Missing docstring |
---|
| 666 | R: 20:DetectorDialog: Too many instance attributes (48/7) |
---|
| 667 | C: 20:DetectorDialog: Missing docstring |
---|
| 668 | W: 21:DetectorDialog.__init__: Redefining name 'detector' from outer scope (line |
---|
| 669 | 806) |
---|
| 670 | W: 21:DetectorDialog.__init__: Redefining built-in 'id' |
---|
| 671 | C: 21:DetectorDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2 |
---|
| 672 | ,30}$) |
---|
| 673 | R: 21:DetectorDialog.__init__: Too many arguments (7/5) |
---|
| 674 | C: 21:DetectorDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2 |
---|
| 675 | ,30}$) |
---|
| 676 | W: 35:DetectorDialog.__init__: No exception type(s) specified |
---|
| 677 | C: 42:DetectorDialog._define_structure: Comma not followed by a space |
---|
| 678 | self.box_detector = wx.StaticBox(self, -1,str("Edit Selected Detector")) |
---|
| 679 | |
---|
| 680 | ^^ |
---|
| 681 | C:153:DetectorDialog._layout_orientation: Comma not followed by a space |
---|
| 682 | self.orientation_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20), |
---|
| 683 | style=0) |
---|
| 684 | ^ |
---|
| 685 | ^ |
---|
| 686 | C:195:DetectorDialog._layout_pixel_size: Comma not followed by a space |
---|
| 687 | self.x_pixel_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), styl |
---|
| 688 | e=0) |
---|
| 689 | ^^ |
---|
| 690 | C:197:DetectorDialog._layout_pixel_size: Comma not followed by a space |
---|
| 691 | self.y_pixel_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), styl |
---|
| 692 | e=0) |
---|
| 693 | ^^ |
---|
| 694 | C:199:DetectorDialog._layout_pixel_size: Comma not followed by a space |
---|
| 695 | self.z_pixel_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), styl |
---|
| 696 | e=0) |
---|
| 697 | ^^ |
---|
| 698 | C:201:DetectorDialog._layout_pixel_size: Comma not followed by a space |
---|
| 699 | self.pixel_size_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), s |
---|
| 700 | tyle=0) |
---|
| 701 | ^^ |
---|
| 702 | C:218:DetectorDialog._layout_slit_length: Comma not followed by a space |
---|
| 703 | self.slit_length_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style |
---|
| 704 | =0) |
---|
| 705 | ^^ |
---|
| 706 | C:220:DetectorDialog._layout_slit_length: Comma not followed by a space |
---|
| 707 | self.slit_length_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), |
---|
| 708 | style=0) |
---|
| 709 | ^^ |
---|
| 710 | W:242:DetectorDialog._do_layout: Unused argument 'data' |
---|
| 711 | W:298:DetectorDialog.fill_detector_combox: Redefining name 'detector' from outer |
---|
| 712 | scope (line 806) |
---|
| 713 | W:309:DetectorDialog.reset_detector_combobox: Redefining name 'detector' from ou |
---|
| 714 | ter scope (line 806) |
---|
| 715 | W:323:DetectorDialog.add_detector: Redefining name 'detector' from outer scope ( |
---|
| 716 | line 806) |
---|
| 717 | W:316:DetectorDialog.add_detector: Unused argument 'event' |
---|
| 718 | W:338:DetectorDialog.remove_detector: Redefining name 'detector' from outer scop |
---|
| 719 | e (line 806) |
---|
| 720 | W:331:DetectorDialog.remove_detector: Unused argument 'event' |
---|
| 721 | C:359:DetectorDialog.enable_detector: Operator not followed by a space |
---|
| 722 | detector_hint_txt = 'Detectors available: %s '%str(n_detector) |
---|
| 723 | ^ |
---|
| 724 | W:370:DetectorDialog.set_detector: Redefining name 'detector' from outer scope ( |
---|
| 725 | line 806) |
---|
| 726 | W:392:DetectorDialog.get_current_detector: Redefining name 'detector' from outer |
---|
| 727 | scope (line 806) |
---|
| 728 | C:383:DetectorDialog.get_current_detector: Empty docstring |
---|
| 729 | W:400:DetectorDialog.set_values: Redefining name 'detector' from outer scope (li |
---|
| 730 | ne 806) |
---|
| 731 | C:409:DetectorDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{ |
---|
| 732 | 2,30}$) |
---|
| 733 | C:409:DetectorDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{ |
---|
| 734 | 2,30}$) |
---|
| 735 | C:409:DetectorDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{ |
---|
| 736 | 2,30}$) |
---|
| 737 | C:415:DetectorDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{ |
---|
| 738 | 2,30}$) |
---|
| 739 | C:415:DetectorDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{ |
---|
| 740 | 2,30}$) |
---|
| 741 | C:415:DetectorDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{ |
---|
| 742 | 2,30}$) |
---|
| 743 | C:421:DetectorDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{ |
---|
| 744 | 2,30}$) |
---|
| 745 | C:421:DetectorDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{ |
---|
| 746 | 2,30}$) |
---|
| 747 | C:421:DetectorDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{ |
---|
| 748 | 2,30}$) |
---|
| 749 | C:427:DetectorDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{ |
---|
| 750 | 2,30}$) |
---|
| 751 | C:427:DetectorDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{ |
---|
| 752 | 2,30}$) |
---|
| 753 | C:427:DetectorDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{ |
---|
| 754 | 2,30}$) |
---|
| 755 | W:433:DetectorDialog.set_values: Unused variable 'slit_length' |
---|
| 756 | W:453:DetectorDialog.on_change_instrument: Redefining name 'detector' from outer |
---|
| 757 | scope (line 806) |
---|
| 758 | C:462:DetectorDialog.on_change_instrument: Operator not followed by a space |
---|
| 759 | self._notes += "name from %s to %s \n"%(detector_name, name) |
---|
| 760 | ^ |
---|
| 761 | W:472:DetectorDialog.on_change_distance: Redefining name 'detector' from outer s |
---|
| 762 | cope (line 806) |
---|
| 763 | C:484:DetectorDialog.on_change_distance: Operator not followed by a space |
---|
| 764 | self._notes += " %s to %s \n"%(detector.distance, distance) |
---|
| 765 | ^ |
---|
| 766 | C:488:DetectorDialog.on_change_distance: Operator not followed by a space |
---|
| 767 | self._notes += "%s to %s"%(detector.distance, distance) |
---|
| 768 | ^ |
---|
| 769 | C:493:DetectorDialog.on_change_distance: Operator not followed by a space |
---|
| 770 | self._notes += "%s to %s"%(detector.distance_unit, unit) |
---|
| 771 | ^ |
---|
| 772 | W:503:DetectorDialog.on_change_offset: Redefining name 'detector' from outer sco |
---|
| 773 | pe (line 806) |
---|
| 774 | C:515:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 775 | self._notes += " %s to %s \n"%(detector.offset.x, x_offset) |
---|
| 776 | ^ |
---|
| 777 | C:520:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 778 | self._notes += " from %s to %s"%(detector.offset.x, x_offset) |
---|
| 779 | ^ |
---|
| 780 | C:530:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 781 | self._notes += "%s to %s \n"%(detector.offset.y, y_offset) |
---|
| 782 | ^ |
---|
| 783 | C:535:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 784 | self._notes += "offset from %s to %s"%(detector.offset.y\ |
---|
| 785 | ^ |
---|
| 786 | ,y_offset) |
---|
| 787 | C:546:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 788 | self._notes += "offset from %s to %s \n"%(detector.offset.z, |
---|
| 789 | \ |
---|
| 790 | ^ |
---|
| 791 | z_offset) |
---|
| 792 | C:552:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 793 | self._notes += "offset from %s to %s"%(detector.offset.z, z_offs |
---|
| 794 | et) |
---|
| 795 | ^ |
---|
| 796 | C:557:DetectorDialog.on_change_offset: Operator not followed by a space |
---|
| 797 | self._notes += "unit from %s to %s"%(detector.offset_unit, unit) |
---|
| 798 | ^ |
---|
| 799 | R:499:DetectorDialog.on_change_offset: Too many branches (14/12) |
---|
| 800 | W:567:DetectorDialog.on_change_orientation: Redefining name 'detector' from oute |
---|
| 801 | r scope (line 806) |
---|
| 802 | C:579:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 803 | self._notes += "%s to %s \n"%(detector.orientation.x, x_orie |
---|
| 804 | ntation) |
---|
| 805 | ^ |
---|
| 806 | C:584:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 807 | self._notes += "%s to %s"%(detector.orientation.x, x_orientation |
---|
| 808 | ) |
---|
| 809 | ^ |
---|
| 810 | C:594:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 811 | self._notes += "%s to %s \n"%(detector.orientation.y, y_orie |
---|
| 812 | ntation) |
---|
| 813 | ^ |
---|
| 814 | C:599:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 815 | self._notes += "%s to %s"%(detector.orientation.y, y_orientation |
---|
| 816 | ) |
---|
| 817 | ^ |
---|
| 818 | C:609:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 819 | self._notes += "%s to %s \n"%(detector.orientation.z, z_orie |
---|
| 820 | ntation) |
---|
| 821 | ^ |
---|
| 822 | C:614:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 823 | self._notes += "%s to %s"%(detector.orientation.z, z_orientation |
---|
| 824 | ) |
---|
| 825 | ^ |
---|
| 826 | C:619:DetectorDialog.on_change_orientation: Operator not followed by a space |
---|
| 827 | self._notes += "%s to %s"%(detector.orientation_unit, unit) |
---|
| 828 | ^ |
---|
| 829 | R:563:DetectorDialog.on_change_orientation: Too many branches (14/12) |
---|
| 830 | W:630:DetectorDialog.on_change_beam_center: Redefining name 'detector' from oute |
---|
| 831 | r scope (line 806) |
---|
| 832 | C:642:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 833 | self._notes += "%s to %s \n"%(detector.beam_center.x, x_beam |
---|
| 834 | _center) |
---|
| 835 | ^ |
---|
| 836 | C:647:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 837 | self._notes += "%s to %s"%(detector.beam_center.x, x_beam_center |
---|
| 838 | ) |
---|
| 839 | ^ |
---|
| 840 | C:657:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 841 | self._notes += "%s to %s \n"%(detector.beam_center.y, y_beam |
---|
| 842 | _center) |
---|
| 843 | ^ |
---|
| 844 | C:662:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 845 | self._notes += "%s to %s"%(detector.beam_center.y, y_beam_center |
---|
| 846 | ) |
---|
| 847 | ^ |
---|
| 848 | C:672:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 849 | self._notes += "%s to %s \n"%(detector.beam_center.z, z_beam |
---|
| 850 | _center) |
---|
| 851 | ^ |
---|
| 852 | C:677:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 853 | self._notes += "%s to %s"%(detector.beam_center.z, z_beam_center |
---|
| 854 | ) |
---|
| 855 | ^ |
---|
| 856 | C:682:DetectorDialog.on_change_beam_center: Operator not followed by a space |
---|
| 857 | self._notes += "%s to %s"%(detector.beam_center_unit, unit) |
---|
| 858 | ^ |
---|
| 859 | R:625:DetectorDialog.on_change_beam_center: Too many branches (14/12) |
---|
| 860 | W:692:DetectorDialog.on_change_pixel_size: Redefining name 'detector' from outer |
---|
| 861 | scope (line 806) |
---|
| 862 | C:703:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 863 | self._notes += "%s to %s \n"%(detector.pixel_size.x, x_pixel |
---|
| 864 | _size) |
---|
| 865 | ^ |
---|
| 866 | C:708:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 867 | self._notes += "%s to %s"%(detector.pixel_size.x, x_pixel_size) |
---|
| 868 | ^ |
---|
| 869 | C:718:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 870 | self._notes += "%s to %s \n"%(detector.pixel_size.y, y_pixel |
---|
| 871 | _size) |
---|
| 872 | ^ |
---|
| 873 | C:723:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 874 | self._notes += "%s to %s"%(detector.pixel_size.y, y_pixel_size) |
---|
| 875 | ^ |
---|
| 876 | C:733:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 877 | self._notes += "%s to %s \n"%(detector.pixel_size.z, z_pixel |
---|
| 878 | _size) |
---|
| 879 | ^ |
---|
| 880 | C:738:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 881 | self._notes += "%s to %s"%(detector.pixel_size.z, z_pixel_size) |
---|
| 882 | ^ |
---|
| 883 | C:743:DetectorDialog.on_change_pixel_size: Operator not followed by a space |
---|
| 884 | self._notes += "%s to %s"%(detector.pixel_size_unit, unit) |
---|
| 885 | ^ |
---|
| 886 | R:688:DetectorDialog.on_change_pixel_size: Too many branches (14/12) |
---|
| 887 | W:753:DetectorDialog.on_change_slit_length: Redefining name 'detector' from oute |
---|
| 888 | r scope (line 806) |
---|
| 889 | C:765:DetectorDialog.on_change_slit_length: Operator not followed by a space |
---|
| 890 | self._notes += " %s to %s \n"%(detector.slit_length, slit_le |
---|
| 891 | ngth) |
---|
| 892 | ^ |
---|
| 893 | C:769:DetectorDialog.on_change_slit_length: Operator not followed by a space |
---|
| 894 | self._notes += "%s to %s"%(detector.slit_length, slit_length) |
---|
| 895 | ^ |
---|
| 896 | C:774:DetectorDialog.on_change_slit_length: Operator not followed by a space |
---|
| 897 | self._notes += "%s to %s"%(detector.slit_length_unit_tcl, unit) |
---|
| 898 | ^ |
---|
| 899 | W:780:DetectorDialog.on_click_cancel: Unused argument 'event' |
---|
| 900 | W:801:DetectorDialog.on_click_apply: Redefining name 'detector' from outer scope |
---|
| 901 | (line 806) |
---|
| 902 | W:789:DetectorDialog.on_click_apply: Unused argument 'event' |
---|
| 903 | W:801:DetectorDialog.on_click_apply: Unused variable 'detector' |
---|
| 904 | R: 20:DetectorDialog: Too many public methods (304/20) |
---|
| 905 | W: 42:DetectorDialog._define_structure: Attribute 'box_detector' defined outside |
---|
| 906 | __init__ |
---|
| 907 | W:220:DetectorDialog._layout_slit_length: Attribute 'slit_length_unit_tcl' defin |
---|
| 908 | ed outside __init__ |
---|
| 909 | W:236:DetectorDialog._layout_button: Attribute 'bt_close' defined outside __init |
---|
| 910 | __ |
---|
| 911 | W: 58:DetectorDialog._define_structure: Attribute 'pixel_sizer' defined outside |
---|
| 912 | __init__ |
---|
| 913 | W: 46:DetectorDialog._define_structure: Attribute 'detector_sizer' defined outsi |
---|
| 914 | de __init__ |
---|
| 915 | W:151:DetectorDialog._layout_orientation: Attribute 'z_orientation_tcl' defined |
---|
| 916 | outside __init__ |
---|
| 917 | W:175:DetectorDialog._layout_beam_center: Attribute 'z_beam_center_tcl' defined |
---|
| 918 | outside __init__ |
---|
| 919 | W:110:DetectorDialog._layout_distance: Attribute 'distance_unit_tcl' defined out |
---|
| 920 | side __init__ |
---|
| 921 | W:199:DetectorDialog._layout_pixel_size: Attribute 'z_pixel_size_tcl' defined ou |
---|
| 922 | tside __init__ |
---|
| 923 | W: 59:DetectorDialog._define_structure: Attribute 'slit_sizer' defined outside _ |
---|
| 924 | _init__ |
---|
| 925 | W: 52:DetectorDialog._define_structure: Attribute 'detector_hint_sizer' defined |
---|
| 926 | outside __init__ |
---|
| 927 | W:127:DetectorDialog._layout_offset: Attribute 'z_offset_tcl' defined outside __ |
---|
| 928 | init__ |
---|
| 929 | W:177:DetectorDialog._layout_beam_center: Attribute 'beam_center_unit_tcl' defin |
---|
| 930 | ed outside __init__ |
---|
| 931 | W: 60:DetectorDialog._define_structure: Attribute 'button_sizer' defined outside |
---|
| 932 | __init__ |
---|
| 933 | W:108:DetectorDialog._layout_distance: Attribute 'distance_tcl' defined outside |
---|
| 934 | __init__ |
---|
| 935 | W:129:DetectorDialog._layout_offset: Attribute 'offset_unit_tcl' defined outside |
---|
| 936 | __init__ |
---|
| 937 | W:201:DetectorDialog._layout_pixel_size: Attribute 'pixel_size_unit_tcl' defined |
---|
| 938 | outside __init__ |
---|
| 939 | W:230:DetectorDialog._layout_button: Attribute 'bt_apply' defined outside __init |
---|
| 940 | __ |
---|
| 941 | W:153:DetectorDialog._layout_orientation: Attribute 'orientation_unit_tcl' defin |
---|
| 942 | ed outside __init__ |
---|
| 943 | W:197:DetectorDialog._layout_pixel_size: Attribute 'y_pixel_size_tcl' defined ou |
---|
| 944 | tside __init__ |
---|
| 945 | W:195:DetectorDialog._layout_pixel_size: Attribute 'x_pixel_size_tcl' defined ou |
---|
| 946 | tside __init__ |
---|
| 947 | W:171:DetectorDialog._layout_beam_center: Attribute 'x_beam_center_tcl' defined |
---|
| 948 | outside __init__ |
---|
| 949 | W:125:DetectorDialog._layout_offset: Attribute 'y_offset_tcl' defined outside __ |
---|
| 950 | init__ |
---|
| 951 | W:147:DetectorDialog._layout_orientation: Attribute 'x_orientation_tcl' defined |
---|
| 952 | outside __init__ |
---|
| 953 | W:173:DetectorDialog._layout_beam_center: Attribute 'y_beam_center_tcl' defined |
---|
| 954 | outside __init__ |
---|
| 955 | W: 55:DetectorDialog._define_structure: Attribute 'offset_sizer' defined outside |
---|
| 956 | __init__ |
---|
| 957 | W:218:DetectorDialog._layout_slit_length: Attribute 'slit_length_tcl' defined ou |
---|
| 958 | tside __init__ |
---|
| 959 | W: 57:DetectorDialog._define_structure: Attribute 'beam_sizer' defined outside _ |
---|
| 960 | _init__ |
---|
| 961 | W:233:DetectorDialog._layout_button: Attribute 'bt_cancel' defined outside __ini |
---|
| 962 | t__ |
---|
| 963 | W: 53:DetectorDialog._define_structure: Attribute 'instrument_sizer' defined out |
---|
| 964 | side __init__ |
---|
| 965 | W: 43:DetectorDialog._define_structure: Attribute 'boxsizer_detector' defined ou |
---|
| 966 | tside __init__ |
---|
| 967 | W: 56:DetectorDialog._define_structure: Attribute 'orientation_sizer' defined ou |
---|
| 968 | tside __init__ |
---|
| 969 | W:149:DetectorDialog._layout_orientation: Attribute 'y_orientation_tcl' defined |
---|
| 970 | outside __init__ |
---|
| 971 | W: 51:DetectorDialog._define_structure: Attribute 'detector_button_sizer' define |
---|
| 972 | d outside __init__ |
---|
| 973 | W: 73:DetectorDialog._layout_detector: Attribute 'bt_add_detector' defined outsi |
---|
| 974 | de __init__ |
---|
| 975 | W: 41:DetectorDialog._define_structure: Attribute 'main_sizer' defined outside _ |
---|
| 976 | _init__ |
---|
| 977 | W: 69:DetectorDialog._layout_detector: Attribute 'detector_cbox' defined outside |
---|
| 978 | __init__ |
---|
| 979 | W: 86:DetectorDialog._layout_detector: Attribute 'detector_txt' defined outside |
---|
| 980 | __init__ |
---|
| 981 | W:100:DetectorDialog._layout_instrument_sizer: Attribute 'instrument_name_tcl' d |
---|
| 982 | efined outside __init__ |
---|
| 983 | W:123:DetectorDialog._layout_offset: Attribute 'x_offset_tcl' defined outside __ |
---|
| 984 | init__ |
---|
| 985 | W: 77:DetectorDialog._layout_detector: Attribute 'bt_remove_detector' defined ou |
---|
| 986 | tside __init__ |
---|
| 987 | W: 54:DetectorDialog._define_structure: Attribute 'distance_sizer' defined outsi |
---|
| 988 | de __init__ |
---|
| 989 | C:805: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 990 | C:806: Invalid name "detector" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 991 | C:807: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 992 | ************* Module sans.perspectives.calculator.help_panel |
---|
| 993 | C: 12: Line too long (99/80) |
---|
| 994 | C: 13: Line too long (88/80) |
---|
| 995 | C: 14: Line too long (91/80) |
---|
| 996 | C: 15: Line too long (86/80) |
---|
| 997 | C: 17: Line too long (86/80) |
---|
| 998 | C: 18: Line too long (86/80) |
---|
| 999 | C: 19: Line too long (83/80) |
---|
| 1000 | C: 20: Line too long (90/80) |
---|
| 1001 | C: 21: Line too long (99/80) |
---|
| 1002 | C: 23: Line too long (95/80) |
---|
| 1003 | C: 24: Line too long (93/80) |
---|
| 1004 | C: 26: Line too long (101/80) |
---|
| 1005 | C: 53: Line too long (85/80) |
---|
| 1006 | W: 7:help: Redefining built-in 'help' |
---|
| 1007 | C: 1: Missing docstring |
---|
| 1008 | C: 30:HelpDialog: Missing docstring |
---|
| 1009 | W: 31:HelpDialog.__init__: Redefining built-in 'id' |
---|
| 1010 | C: 31:HelpDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1011 | $) |
---|
| 1012 | C: 31:HelpDialog.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1013 | $) |
---|
| 1014 | C: 41:HelpDialog.__init__: Comma not followed by a space |
---|
| 1015 | label_explain = wx.StaticText(self, -1, explanation, size=(350,320)) |
---|
| 1016 | ^^ |
---|
| 1017 | C: 49:HelpDialog.__init__: Invalid name "button_OK" (should match [a-z_][a-z0-9_ |
---|
| 1018 | ]{2,30}$) |
---|
| 1019 | R: 30:HelpDialog: Too many public methods (283/20) |
---|
| 1020 | C: 62:HelpWindow: Missing docstring |
---|
| 1021 | W: 63:HelpWindow.__init__: Redefining built-in 'id' |
---|
| 1022 | C: 63:HelpWindow.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1023 | $) |
---|
| 1024 | C: 63:HelpWindow.__init__: Invalid name "pageToOpen" (should match [a-z_][a-z0-9 |
---|
| 1025 | _]{2,30}$) |
---|
| 1026 | R: 63:HelpWindow.__init__: Too many local variables (21/15) |
---|
| 1027 | C: 63:HelpWindow.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1028 | $) |
---|
| 1029 | C: 63:HelpWindow.__init__: Invalid name "pageToOpen" (should match [a-z_][a-z0-9 |
---|
| 1030 | _]{2,30}$) |
---|
| 1031 | W: 67:HelpWindow.__init__: String statement has no effect |
---|
| 1032 | C: 71:HelpWindow.__init__: Comma not followed by a space |
---|
| 1033 | lpanel = wx.Panel(splitter, -1,style=wx.BORDER_SUNKEN) |
---|
| 1034 | ^^ |
---|
| 1035 | C: 78:HelpWindow.__init__: Invalid name "st" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1036 | $) |
---|
| 1037 | C: 86:HelpWindow.__init__: Operator not preceded by a space |
---|
| 1038 | vboxl= wx.BoxSizer(wx.VERTICAL) |
---|
| 1039 | ^ |
---|
| 1040 | C:106:HelpWindow.__init__: Operator not preceded by a space |
---|
| 1041 | page1="""<html> |
---|
| 1042 | ^ |
---|
| 1043 | |
---|
| 1044 | |
---|
| 1045 | |
---|
| 1046 | </html>""" |
---|
| 1047 | C:112:HelpWindow.__init__: Operator not preceded by a space |
---|
| 1048 | page="""<html> |
---|
| 1049 | ^ |
---|
| 1050 | |
---|
| 1051 | |
---|
| 1052 | |
---|
| 1053 | |
---|
| 1054 | |
---|
| 1055 | |
---|
| 1056 | </html>""" |
---|
| 1057 | C:122:HelpWindow.__init__: Comma not followed by a space |
---|
| 1058 | self.lhelp.Bind(wx.html.EVT_HTML_LINK_CLICKED,self.OnLinkClicked ) |
---|
| 1059 | ^^ |
---|
| 1060 | C:124:HelpWindow.__init__: Comma not followed by a space |
---|
| 1061 | vbox.Add(self.rhelp,1, wx.EXPAND) |
---|
| 1062 | ^^ |
---|
| 1063 | C:131:HelpWindow.__init__: Comma not followed by a space |
---|
| 1064 | vbox1.Add(splitter,1,wx.EXPAND) |
---|
| 1065 | ^^ |
---|
| 1066 | W: 63:HelpWindow.__init__: Unused argument 'pageToOpen' |
---|
| 1067 | C:140:HelpWindow.OnLinkClicked: Invalid name "OnLinkClicked" (should match [a-z_ |
---|
| 1068 | ][a-z0-9_]{2,30}$) |
---|
| 1069 | C:145:HelpWindow.OnLinkClicked: Operator not preceded by a space |
---|
| 1070 | link= event.GetLinkInfo().GetHref() |
---|
| 1071 | ^ |
---|
| 1072 | C:146:HelpWindow.OnLinkClicked: Comma not followed by a space |
---|
| 1073 | link = os.path.join(self.path,link) |
---|
| 1074 | ^^ |
---|
| 1075 | R: 62:HelpWindow: Too many public methods (288/20) |
---|
| 1076 | C:149:ViewApp: Missing docstring |
---|
| 1077 | C:150:ViewApp.OnInit: Invalid name "OnInit" (should match [a-z_][a-z0-9_]{2,30}$ |
---|
| 1078 | ) |
---|
| 1079 | C:150:ViewApp.OnInit: Missing docstring |
---|
| 1080 | R:149:ViewApp: Too many public methods (66/20) |
---|
| 1081 | C:159: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1082 | ************* Module sans.perspectives.calculator.load_thread |
---|
| 1083 | C: 1: Missing docstring |
---|
| 1084 | F: 6: Unable to import 'data_util.calcthread' |
---|
| 1085 | R: 14:DataReader.__init__: Too many arguments (6/5) |
---|
| 1086 | E: 46:DataReader.compute: Instance of 'DataReader' has no 'complete' member |
---|
| 1087 | W: 45:DataReader.compute: Unused variable 'elapsed' |
---|
| 1088 | W: 3: Unused import sys |
---|
| 1089 | ************* Module sans.perspectives.calculator.sample_editor |
---|
| 1090 | C: 57: Line too long (87/80) |
---|
| 1091 | C: 76: Line too long (83/80) |
---|
| 1092 | C: 82: Line too long (83/80) |
---|
| 1093 | C: 91: Line too long (87/80) |
---|
| 1094 | C: 92: Line too long (85/80) |
---|
| 1095 | C:101: Line too long (87/80) |
---|
| 1096 | C:105: Line too long (83/80) |
---|
| 1097 | C:107: Line too long (85/80) |
---|
| 1098 | C:108: Line too long (82/80) |
---|
| 1099 | C:117: Line too long (83/80) |
---|
| 1100 | C:119: Line too long (83/80) |
---|
| 1101 | C:121: Line too long (84/80) |
---|
| 1102 | C:123: Line too long (87/80) |
---|
| 1103 | C:140: Line too long (86/80) |
---|
| 1104 | C:142: Line too long (86/80) |
---|
| 1105 | C:144: Line too long (87/80) |
---|
| 1106 | C:146: Line too long (90/80) |
---|
| 1107 | C:147: Line too long (83/80) |
---|
| 1108 | C:155: Line too long (83/80) |
---|
| 1109 | C:277: Line too long (83/80) |
---|
| 1110 | C:349: Line too long (83/80) |
---|
| 1111 | C:380: Line too long (86/80) |
---|
| 1112 | C:395: Line too long (86/80) |
---|
| 1113 | C:410: Line too long (86/80) |
---|
| 1114 | C:440: Line too long (85/80) |
---|
| 1115 | C:450: Line too long (92/80) |
---|
| 1116 | C:455: Line too long (85/80) |
---|
| 1117 | C:465: Line too long (92/80) |
---|
| 1118 | C:470: Line too long (85/80) |
---|
| 1119 | W:515: Bad indentation. Found 13 spaces, expected 12 |
---|
| 1120 | C: 1: Missing docstring |
---|
| 1121 | R: 19:SampleDialog: Too many instance attributes (37/7) |
---|
| 1122 | C: 19:SampleDialog: Missing docstring |
---|
| 1123 | W: 20:SampleDialog.__init__: Redefining name 'sample' from outer scope (line 521 |
---|
| 1124 | ) |
---|
| 1125 | R: 20:SampleDialog.__init__: Too many arguments (6/5) |
---|
| 1126 | C: 38:SampleDialog._define_structure: Comma not followed by a space |
---|
| 1127 | self.box_sample = wx.StaticBox(self, -1,str("Sample")) |
---|
| 1128 | ^^ |
---|
| 1129 | C: 76:SampleDialog._layout_thickness: Comma not followed by a space |
---|
| 1130 | self.thickness_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20),style=0 |
---|
| 1131 | ) |
---|
| 1132 | ^^ |
---|
| 1133 | C: 91:SampleDialog._layout_transmission: Comma not followed by a space |
---|
| 1134 | self.transmission_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20),styl |
---|
| 1135 | e=0) |
---|
| 1136 | ^^ |
---|
| 1137 | W: 89:SampleDialog._layout_transmission: Unused variable 'transmission' |
---|
| 1138 | C:117:SampleDialog._layout_position: Comma not followed by a space |
---|
| 1139 | self.x_position_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style= |
---|
| 1140 | 0) |
---|
| 1141 | ^^ |
---|
| 1142 | C:119:SampleDialog._layout_position: Comma not followed by a space |
---|
| 1143 | self.y_position_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style= |
---|
| 1144 | 0) |
---|
| 1145 | ^^ |
---|
| 1146 | C:121:SampleDialog._layout_position: Comma not followed by a space |
---|
| 1147 | self.z_position_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style= |
---|
| 1148 | 0) |
---|
| 1149 | ^^ |
---|
| 1150 | C:123:SampleDialog._layout_position: Comma not followed by a space |
---|
| 1151 | self.position_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), sty |
---|
| 1152 | le=0) |
---|
| 1153 | ^^ |
---|
| 1154 | C:140:SampleDialog._layout_orientation: Comma not followed by a space |
---|
| 1155 | self.x_orientation_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), sty |
---|
| 1156 | le=0) |
---|
| 1157 | ^^ |
---|
| 1158 | C:142:SampleDialog._layout_orientation: Comma not followed by a space |
---|
| 1159 | self.y_orientation_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), sty |
---|
| 1160 | le=0) |
---|
| 1161 | ^^ |
---|
| 1162 | C:144:SampleDialog._layout_orientation: Comma not followed by a space |
---|
| 1163 | self.z_orientation_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), sty |
---|
| 1164 | le=0) |
---|
| 1165 | ^^ |
---|
| 1166 | C:146:SampleDialog._layout_orientation: Comma not followed by a space |
---|
| 1167 | self.orientation_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), |
---|
| 1168 | style=0) |
---|
| 1169 | ^^ |
---|
| 1170 | C:164:SampleDialog._layout_details: Comma not followed by a space |
---|
| 1171 | self.details_tcl = wx.TextCtrl(self, -1,size=(_BOX_WIDTH*5,_BOX_WIDTH), |
---|
| 1172 | ^^ |
---|
| 1173 | style=wx.TE_MULTILINE | wx.HSCROLL) |
---|
| 1174 | W:162:SampleDialog._layout_details: Unused variable 'details' |
---|
| 1175 | W:185:SampleDialog._do_layout: Unused argument 'data' |
---|
| 1176 | W:257:SampleDialog.set_values: Redefining name 'sample' from outer scope (line 5 |
---|
| 1177 | 21) |
---|
| 1178 | C:271:SampleDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{2, |
---|
| 1179 | 30}$) |
---|
| 1180 | C:271:SampleDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{2, |
---|
| 1181 | 30}$) |
---|
| 1182 | C:271:SampleDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{2, |
---|
| 1183 | 30}$) |
---|
| 1184 | C:277:SampleDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{2, |
---|
| 1185 | 30}$) |
---|
| 1186 | C:277:SampleDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{2, |
---|
| 1187 | 30}$) |
---|
| 1188 | C:277:SampleDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{2, |
---|
| 1189 | 30}$) |
---|
| 1190 | W:285:SampleDialog.set_details: Redefining name 'sample' from outer scope (line |
---|
| 1191 | 521) |
---|
| 1192 | C:318:SampleDialog.on_change_name: Operator not followed by a space |
---|
| 1193 | self._notes += "name from %s to %s \n"%(self._sample.name, name) |
---|
| 1194 | ^ |
---|
| 1195 | W:326:SampleDialog.on_change_id: Redefining built-in 'id' |
---|
| 1196 | C:326:SampleDialog.on_change_id: Invalid name "id" (should match [a-z_][a-z0-9_] |
---|
| 1197 | {2,30}$) |
---|
| 1198 | C:329:SampleDialog.on_change_id: Operator not followed by a space |
---|
| 1199 | self._notes += " %s to %s \n"%(self._sample.ID, id) |
---|
| 1200 | ^ |
---|
| 1201 | C:339:SampleDialog.on_change_thickness: Operator not followed by a space |
---|
| 1202 | self._notes += " %s to %s \n"%(self._sample.thickness, thickness) |
---|
| 1203 | ^ |
---|
| 1204 | C:349:SampleDialog.on_change_transmission: Operator not followed by a space |
---|
| 1205 | self._notes += " %s to %s \n"%(self._sample.transmission, transmissi |
---|
| 1206 | on) |
---|
| 1207 | ^ |
---|
| 1208 | C:360:SampleDialog.on_change_temperature: Operator not followed by a space |
---|
| 1209 | self._notes += " %s to %s \n"%(self._sample.temperature, temperature) |
---|
| 1210 | ^ |
---|
| 1211 | C:365:SampleDialog.on_change_temperature: Operator not followed by a space |
---|
| 1212 | self._notes += "%s to %s"%(self._sample.temperature_unit, unit) |
---|
| 1213 | ^ |
---|
| 1214 | C:380:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1215 | self._notes += "%s to %s \n"%(self._sample.position.x, x_pos |
---|
| 1216 | ition) |
---|
| 1217 | ^ |
---|
| 1218 | C:385:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1219 | self._notes += "%s to %s"%(self._sample.position.x, x_position) |
---|
| 1220 | ^ |
---|
| 1221 | C:395:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1222 | self._notes += "%s to %s \n"%(self._sample.position.y, y_pos |
---|
| 1223 | ition) |
---|
| 1224 | ^ |
---|
| 1225 | C:400:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1226 | self._notes += "%s to %s"%(self._sample.position.y, y_position) |
---|
| 1227 | ^ |
---|
| 1228 | C:410:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1229 | self._notes += "%s to %s \n"%(self._sample.position.z, z_pos |
---|
| 1230 | ition) |
---|
| 1231 | ^ |
---|
| 1232 | C:415:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1233 | self._notes += "%s to %s"%(self._sample.position.z, z_position) |
---|
| 1234 | ^ |
---|
| 1235 | C:420:SampleDialog.on_change_position: Operator not followed by a space |
---|
| 1236 | self._notes += "%s to %s"%(self._sample.position_unit, unit) |
---|
| 1237 | ^ |
---|
| 1238 | R:368:SampleDialog.on_change_position: Too many branches (13/12) |
---|
| 1239 | C:434:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1240 | self._notes += "%s to %s \n"%(self._sample.orientation.x, |
---|
| 1241 | ^ |
---|
| 1242 | x_orientation) |
---|
| 1243 | C:440:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1244 | self._notes += "%s to %s"%(self._sample.orientation.x, x_orienta |
---|
| 1245 | tion) |
---|
| 1246 | ^ |
---|
| 1247 | C:450:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1248 | self._notes += "%s to %s \n"%(self._sample.orientation.y, y_ |
---|
| 1249 | orientation) |
---|
| 1250 | ^ |
---|
| 1251 | C:455:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1252 | self._notes += "%s to %s"%(self._sample.orientation.y, y_orienta |
---|
| 1253 | tion) |
---|
| 1254 | ^ |
---|
| 1255 | C:465:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1256 | self._notes += "%s to %s \n"%(self._sample.orientation.z, z_ |
---|
| 1257 | orientation) |
---|
| 1258 | ^ |
---|
| 1259 | C:470:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1260 | self._notes += "%s to %s"%(self._sample.orientation.z, z_orienta |
---|
| 1261 | tion) |
---|
| 1262 | ^ |
---|
| 1263 | C:475:SampleDialog.on_change_orientation: Operator not followed by a space |
---|
| 1264 | self._notes += "%s to %s"%(self._sample.orientation_unit, unit) |
---|
| 1265 | ^ |
---|
| 1266 | R:422:SampleDialog.on_change_orientation: Too many branches (13/12) |
---|
| 1267 | C:489:SampleDialog.on_change_details: Operator not followed by a space |
---|
| 1268 | self._notes += " %s to %s \n"%(msg, details) |
---|
| 1269 | ^ |
---|
| 1270 | W:492:SampleDialog.on_click_apply: Unused argument 'event' |
---|
| 1271 | W:508:SampleDialog.on_click_cancel: Unused argument 'event' |
---|
| 1272 | R: 19:SampleDialog: Too many public methods (299/20) |
---|
| 1273 | W: 38:SampleDialog._define_structure: Attribute 'box_sample' defined outside __i |
---|
| 1274 | nit__ |
---|
| 1275 | W:179:SampleDialog._layout_button: Attribute 'bt_close' defined outside __init__ |
---|
| 1276 | |
---|
| 1277 | W: 48:SampleDialog._define_structure: Attribute 'details_sizer' defined outside |
---|
| 1278 | __init__ |
---|
| 1279 | W:144:SampleDialog._layout_orientation: Attribute 'z_orientation_tcl' defined ou |
---|
| 1280 | tside __init__ |
---|
| 1281 | W:117:SampleDialog._layout_position: Attribute 'x_position_tcl' defined outside |
---|
| 1282 | __init__ |
---|
| 1283 | W: 57:SampleDialog._layout_name: Attribute 'sample_name_tcl' defined outside __i |
---|
| 1284 | nit__ |
---|
| 1285 | W: 49:SampleDialog._define_structure: Attribute 'button_sizer' defined outside _ |
---|
| 1286 | _init__ |
---|
| 1287 | W: 46:SampleDialog._define_structure: Attribute 'position_sizer' defined outside |
---|
| 1288 | __init__ |
---|
| 1289 | W:101:SampleDialog._layout_temperature: Attribute 'temperature_tcl' defined outs |
---|
| 1290 | ide __init__ |
---|
| 1291 | W:103:SampleDialog._layout_temperature: Attribute 'temperature_unit_tcl' defined |
---|
| 1292 | outside __init__ |
---|
| 1293 | W: 44:SampleDialog._define_structure: Attribute 'transmission_sizer' defined out |
---|
| 1294 | side __init__ |
---|
| 1295 | W:146:SampleDialog._layout_orientation: Attribute 'orientation_unit_tcl' defined |
---|
| 1296 | outside __init__ |
---|
| 1297 | W:164:SampleDialog._layout_details: Attribute 'details_tcl' defined outside __in |
---|
| 1298 | it__ |
---|
| 1299 | W: 45:SampleDialog._define_structure: Attribute 'temperature_sizer' defined outs |
---|
| 1300 | ide __init__ |
---|
| 1301 | W:140:SampleDialog._layout_orientation: Attribute 'x_orientation_tcl' defined ou |
---|
| 1302 | tside __init__ |
---|
| 1303 | W:176:SampleDialog._layout_button: Attribute 'bt_cancel' defined outside __init_ |
---|
| 1304 | _ |
---|
| 1305 | W: 76:SampleDialog._layout_thickness: Attribute 'thickness_tcl' defined outside |
---|
| 1306 | __init__ |
---|
| 1307 | W: 91:SampleDialog._layout_transmission: Attribute 'transmission_tcl' defined ou |
---|
| 1308 | tside __init__ |
---|
| 1309 | W: 41:SampleDialog._define_structure: Attribute 'name_sizer' defined outside __i |
---|
| 1310 | nit__ |
---|
| 1311 | W:142:SampleDialog._layout_orientation: Attribute 'y_orientation_tcl' defined ou |
---|
| 1312 | tside __init__ |
---|
| 1313 | W:123:SampleDialog._layout_position: Attribute 'position_unit_tcl' defined outsi |
---|
| 1314 | de __init__ |
---|
| 1315 | W: 39:SampleDialog._define_structure: Attribute 'boxsizer_sample' defined outsid |
---|
| 1316 | e __init__ |
---|
| 1317 | W: 37:SampleDialog._define_structure: Attribute 'main_sizer' defined outside __i |
---|
| 1318 | nit__ |
---|
| 1319 | W: 43:SampleDialog._define_structure: Attribute 'thickness_sizer' defined outsid |
---|
| 1320 | e __init__ |
---|
| 1321 | W:173:SampleDialog._layout_button: Attribute 'bt_apply' defined outside __init__ |
---|
| 1322 | |
---|
| 1323 | W:119:SampleDialog._layout_position: Attribute 'y_position_tcl' defined outside |
---|
| 1324 | __init__ |
---|
| 1325 | W: 66:SampleDialog._layout_id: Attribute 'id_tcl' defined outside __init__ |
---|
| 1326 | W: 78:SampleDialog._layout_thickness: Attribute 'thickness_unit_tcl' defined out |
---|
| 1327 | side __init__ |
---|
| 1328 | W:121:SampleDialog._layout_position: Attribute 'z_position_tcl' defined outside |
---|
| 1329 | __init__ |
---|
| 1330 | W: 42:SampleDialog._define_structure: Attribute 'id_sizer' defined outside __ini |
---|
| 1331 | t__ |
---|
| 1332 | W: 47:SampleDialog._define_structure: Attribute 'orientation_sizer' defined outs |
---|
| 1333 | ide __init__ |
---|
| 1334 | C:517: Operator not followed by a space |
---|
| 1335 | if __name__ =="__main__": |
---|
| 1336 | ^^ |
---|
| 1337 | C:519: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1338 | C:521: Invalid name "sample" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1339 | C:522: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1340 | ************* Module sans.perspectives.calculator.sld_panel |
---|
| 1341 | C:337: Line too long (83/80) |
---|
| 1342 | C:357: Line too long (84/80) |
---|
| 1343 | C:358: Line too long (91/80) |
---|
| 1344 | C:361: Line too long (88/80) |
---|
| 1345 | C:364: Line too long (87/80) |
---|
| 1346 | W:374: Bad indentation. Found 18 spaces, expected 16 |
---|
| 1347 | W:375: Bad indentation. Found 18 spaces, expected 16 |
---|
| 1348 | C:383: Line too long (83/80) |
---|
| 1349 | R: 35:SldPanel: Too many instance attributes (17/7) |
---|
| 1350 | W: 45:SldPanel.__init__: Redefining built-in 'id' |
---|
| 1351 | C: 45:SldPanel.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30}$) |
---|
| 1352 | |
---|
| 1353 | C: 45:SldPanel.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30}$) |
---|
| 1354 | |
---|
| 1355 | W:248:SldPanel._do_layout: Redefining built-in 'id' |
---|
| 1356 | R: 57:SldPanel._do_layout: Too many local variables (39/15) |
---|
| 1357 | C: 64:SldPanel._do_layout: Operator not followed by a space |
---|
| 1358 | unit_cm1 ='[1/cm]' |
---|
| 1359 | ^ |
---|
| 1360 | C: 65:SldPanel._do_layout: Operator not followed by a space |
---|
| 1361 | unit_cm ='[cm]' |
---|
| 1362 | ^ |
---|
| 1363 | C: 66:SldPanel._do_layout: Comma not followed by a space |
---|
| 1364 | sizer_input = wx.GridBagSizer(5,5) |
---|
| 1365 | ^^ |
---|
| 1366 | C: 67:SldPanel._do_layout: Comma not followed by a space |
---|
| 1367 | sizer_output = wx.GridBagSizer(5,5) |
---|
| 1368 | ^^ |
---|
| 1369 | C: 75:SldPanel._do_layout: Comma not followed by a space |
---|
| 1370 | boxsizer1.SetMinSize((_STATICBOX_WIDTH,-1)) |
---|
| 1371 | ^^ |
---|
| 1372 | C: 78:SldPanel._do_layout: Comma not followed by a space |
---|
| 1373 | self.compound_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1374 | ^^ |
---|
| 1375 | C: 80:SldPanel._do_layout: Comma not followed by a space |
---|
| 1376 | self.density_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1377 | ^^ |
---|
| 1378 | C: 83:SldPanel._do_layout: Comma not followed by a space |
---|
| 1379 | self.wavelength_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1380 | ^^ |
---|
| 1381 | C: 86:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1382 | $) |
---|
| 1383 | C: 87:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1384 | $) |
---|
| 1385 | C: 88:SldPanel._do_layout: Comma not followed by a space |
---|
| 1386 | sizer_input.Add(compound_txt,(iy, ix),(1,1),\ |
---|
| 1387 | ^^ |
---|
| 1388 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1389 | C: 90:SldPanel._do_layout: Operator not followed by a space |
---|
| 1390 | ix +=1 |
---|
| 1391 | ^^ |
---|
| 1392 | C: 90:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1393 | $) |
---|
| 1394 | C: 91:SldPanel._do_layout: Comma not followed by a space |
---|
| 1395 | sizer_input.Add(self.compound_ctl,(iy, ix),(1,1),\ |
---|
| 1396 | ^^ |
---|
| 1397 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1398 | C: 93:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1399 | $) |
---|
| 1400 | C: 94:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1401 | $) |
---|
| 1402 | C: 95:SldPanel._do_layout: Comma not followed by a space |
---|
| 1403 | sizer_input.Add(density_txt,(iy, ix),(1,1),\ |
---|
| 1404 | ^^ |
---|
| 1405 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1406 | C: 97:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1407 | $) |
---|
| 1408 | C: 98:SldPanel._do_layout: Comma not followed by a space |
---|
| 1409 | sizer_input.Add(self.density_ctl, (iy, ix), (1,1),\ |
---|
| 1410 | ^^ |
---|
| 1411 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1412 | C:100:SldPanel._do_layout: Operator not followed by a space |
---|
| 1413 | ix +=1 |
---|
| 1414 | ^^ |
---|
| 1415 | C:100:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1416 | $) |
---|
| 1417 | C:101:SldPanel._do_layout: Comma not followed by a space |
---|
| 1418 | sizer_input.Add(unit_density_txt,(iy, ix),(1,1),\ |
---|
| 1419 | ^^ |
---|
| 1420 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1421 | C:103:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1422 | $) |
---|
| 1423 | C:104:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1424 | $) |
---|
| 1425 | C:105:SldPanel._do_layout: Comma not followed by a space |
---|
| 1426 | sizer_input.Add(wavelength_txt, (iy, ix),(1,1),\ |
---|
| 1427 | ^^ |
---|
| 1428 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1429 | C:107:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1430 | $) |
---|
| 1431 | C:108:SldPanel._do_layout: Comma not followed by a space |
---|
| 1432 | sizer_input.Add(self.wavelength_ctl,(iy, ix),(1,1),\ |
---|
| 1433 | ^^ |
---|
| 1434 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1435 | C:110:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1436 | $) |
---|
| 1437 | C:111:SldPanel._do_layout: Comma not followed by a space |
---|
| 1438 | sizer_input.Add(unit_a_txt,(iy, ix),(1,1),\ |
---|
| 1439 | ^^ |
---|
| 1440 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1441 | C:114:SldPanel._do_layout: Comma not followed by a space |
---|
| 1442 | sizer1.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) |
---|
| 1443 | ^^ |
---|
| 1444 | C:118:SldPanel._do_layout: Comma not followed by a space |
---|
| 1445 | boxsizer2.SetMinSize((_STATICBOX_WIDTH,-1)) |
---|
| 1446 | ^^ |
---|
| 1447 | C:122:SldPanel._do_layout: Comma not followed by a space |
---|
| 1448 | self.neutron_sld_reel_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1449 | ^^ |
---|
| 1450 | C:125:SldPanel._do_layout: Comma not followed by a space |
---|
| 1451 | self.neutron_sld_im_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1452 | ^^ |
---|
| 1453 | C:131:SldPanel._do_layout: Comma not followed by a space |
---|
| 1454 | self.cu_ka_sld_reel_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1455 | ^^ |
---|
| 1456 | C:134:SldPanel._do_layout: Comma not followed by a space |
---|
| 1457 | self.cu_ka_sld_im_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1458 | ^^ |
---|
| 1459 | C:140:SldPanel._do_layout: Comma not followed by a space |
---|
| 1460 | self.mo_ka_sld_reel_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1461 | ^^ |
---|
| 1462 | C:143:SldPanel._do_layout: Comma not followed by a space |
---|
| 1463 | self.mo_ka_sld_im_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1464 | ^^ |
---|
| 1465 | C:149:SldPanel._do_layout: Comma not followed by a space |
---|
| 1466 | self.neutron_inc_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1467 | ^^ |
---|
| 1468 | C:155:SldPanel._do_layout: Comma not followed by a space |
---|
| 1469 | self.neutron_abs_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1470 | ^^ |
---|
| 1471 | C:161:SldPanel._do_layout: Comma not followed by a space |
---|
| 1472 | self.neutron_length_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1473 | ^^ |
---|
| 1474 | C:166:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1475 | $) |
---|
| 1476 | C:167:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1477 | $) |
---|
| 1478 | C:168:SldPanel._do_layout: Comma not followed by a space |
---|
| 1479 | sizer_output.Add(neutron_sld_txt,(iy, ix),(1,1), |
---|
| 1480 | ^^ |
---|
| 1481 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1482 | C:170:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1483 | $) |
---|
| 1484 | C:171:SldPanel._do_layout: Comma not followed by a space |
---|
| 1485 | sizer_output.Add(self.neutron_sld_reel_ctl,(iy, ix),(1,1), |
---|
| 1486 | ^^ |
---|
| 1487 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1488 | C:173:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1489 | $) |
---|
| 1490 | C:176:SldPanel._do_layout: Operator not followed by a space |
---|
| 1491 | ix +=1 |
---|
| 1492 | ^^ |
---|
| 1493 | C:176:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1494 | $) |
---|
| 1495 | C:179:SldPanel._do_layout: Operator not followed by a space |
---|
| 1496 | ix +=1 |
---|
| 1497 | ^^ |
---|
| 1498 | C:179:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1499 | $) |
---|
| 1500 | C:182:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1501 | $) |
---|
| 1502 | C:183:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1503 | $) |
---|
| 1504 | C:184:SldPanel._do_layout: Comma not followed by a space |
---|
| 1505 | sizer_output.Add(cu_ka_sld_txt,(iy, ix),(1,1), |
---|
| 1506 | ^^ |
---|
| 1507 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1508 | C:186:SldPanel._do_layout: Operator not followed by a space |
---|
| 1509 | ix +=1 |
---|
| 1510 | ^^ |
---|
| 1511 | C:186:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1512 | $) |
---|
| 1513 | C:187:SldPanel._do_layout: Comma not followed by a space |
---|
| 1514 | sizer_output.Add(self.cu_ka_sld_reel_ctl,(iy, ix),(1,1), |
---|
| 1515 | ^^ |
---|
| 1516 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1517 | C:189:SldPanel._do_layout: Operator not followed by a space |
---|
| 1518 | ix +=1 |
---|
| 1519 | ^^ |
---|
| 1520 | C:189:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1521 | $) |
---|
| 1522 | C:192:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1523 | $) |
---|
| 1524 | C:195:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1525 | $) |
---|
| 1526 | C:198:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1527 | $) |
---|
| 1528 | C:199:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1529 | $) |
---|
| 1530 | C:200:SldPanel._do_layout: Comma not followed by a space |
---|
| 1531 | sizer_output.Add(mo_ka_sld_txt,(iy, ix),(1,1), |
---|
| 1532 | ^^ |
---|
| 1533 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1534 | C:202:SldPanel._do_layout: Operator not followed by a space |
---|
| 1535 | ix +=1 |
---|
| 1536 | ^^ |
---|
| 1537 | C:202:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1538 | $) |
---|
| 1539 | C:203:SldPanel._do_layout: Comma not followed by a space |
---|
| 1540 | sizer_output.Add(self.mo_ka_sld_reel_ctl,(iy, ix),(1,1), |
---|
| 1541 | ^^ |
---|
| 1542 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1543 | C:205:SldPanel._do_layout: Operator not followed by a space |
---|
| 1544 | ix +=1 |
---|
| 1545 | ^^ |
---|
| 1546 | C:205:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1547 | $) |
---|
| 1548 | C:208:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1549 | $) |
---|
| 1550 | C:211:SldPanel._do_layout: Operator not followed by a space |
---|
| 1551 | ix +=1 |
---|
| 1552 | ^^ |
---|
| 1553 | C:211:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1554 | $) |
---|
| 1555 | C:214:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1556 | $) |
---|
| 1557 | C:215:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1558 | $) |
---|
| 1559 | C:216:SldPanel._do_layout: Comma not followed by a space |
---|
| 1560 | sizer_output.Add(neutron_inc_txt,(iy, ix),(1,1), |
---|
| 1561 | ^^ |
---|
| 1562 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1563 | C:218:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1564 | $) |
---|
| 1565 | C:219:SldPanel._do_layout: Comma not followed by a space |
---|
| 1566 | sizer_output.Add(self.neutron_inc_ctl,(iy, ix),(1,1), |
---|
| 1567 | ^^ |
---|
| 1568 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1569 | C:221:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1570 | $) |
---|
| 1571 | C:222:SldPanel._do_layout: Comma not followed by a space |
---|
| 1572 | sizer_output.Add(neutron_inc_units_txt,(iy, ix),(1,1), |
---|
| 1573 | ^^ |
---|
| 1574 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1575 | C:224:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1576 | $) |
---|
| 1577 | C:225:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1578 | $) |
---|
| 1579 | C:226:SldPanel._do_layout: Comma not followed by a space |
---|
| 1580 | sizer_output.Add(neutron_abs_txt, (iy, ix), (1,1), |
---|
| 1581 | ^^ |
---|
| 1582 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1583 | C:228:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1584 | $) |
---|
| 1585 | C:229:SldPanel._do_layout: Comma not followed by a space |
---|
| 1586 | sizer_output.Add(self.neutron_abs_ctl, (iy, ix), (1,1), |
---|
| 1587 | ^^ |
---|
| 1588 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1589 | C:231:SldPanel._do_layout: Operator not followed by a space |
---|
| 1590 | ix +=2 |
---|
| 1591 | ^^ |
---|
| 1592 | C:231:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1593 | $) |
---|
| 1594 | C:232:SldPanel._do_layout: Comma not followed by a space |
---|
| 1595 | sizer_output.Add(neutron_abs_units_txt, (iy, ix), (1,1), |
---|
| 1596 | ^^ |
---|
| 1597 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1598 | C:234:SldPanel._do_layout: Invalid name "iy" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1599 | $) |
---|
| 1600 | C:235:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1601 | $) |
---|
| 1602 | C:236:SldPanel._do_layout: Comma not followed by a space |
---|
| 1603 | sizer_output.Add(neutron_length_txt, (iy, ix), (1,1), |
---|
| 1604 | ^^ |
---|
| 1605 | wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) |
---|
| 1606 | C:238:SldPanel._do_layout: Operator not followed by a space |
---|
| 1607 | ix +=1 |
---|
| 1608 | ^^ |
---|
| 1609 | C:238:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1610 | $) |
---|
| 1611 | C:239:SldPanel._do_layout: Comma not followed by a space |
---|
| 1612 | sizer_output.Add(self.neutron_length_ctl, (iy, ix), (1,1), |
---|
| 1613 | ^^ |
---|
| 1614 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1615 | C:241:SldPanel._do_layout: Invalid name "ix" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1616 | $) |
---|
| 1617 | C:242:SldPanel._do_layout: Comma not followed by a space |
---|
| 1618 | sizer_output.Add(neutron_length_units_txt, (iy, ix), (1,1), |
---|
| 1619 | ^^ |
---|
| 1620 | wx.EXPAND|wx.ADJUST_MINSIZE, 0) |
---|
| 1621 | C:245:SldPanel._do_layout: Comma not followed by a space |
---|
| 1622 | sizer2.Add(boxsizer2,0, wx.EXPAND|wx.ALL, 10) |
---|
| 1623 | ^^ |
---|
| 1624 | C:248:SldPanel._do_layout: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30} |
---|
| 1625 | $) |
---|
| 1626 | C:254:SldPanel._do_layout: Comma not followed by a space |
---|
| 1627 | sizer_button.Add(button_calculate, 0, wx.RIGHT|wx.ADJUST_MINSIZE,20) |
---|
| 1628 | ^^ |
---|
| 1629 | R: 57:SldPanel._do_layout: Too many statements (157/50) |
---|
| 1630 | E:277:SldPanel.calculate_xray_sld: Undefined variable 'user_formula' |
---|
| 1631 | E:292:SldPanel.check_inputs: Instance of 'float' has no 'lstrip' member (but som |
---|
| 1632 | e types could not be inferred) |
---|
| 1633 | R:312:SldPanel.calculate_sld_helper: Method could be a function |
---|
| 1634 | C:328:SldPanel.calculateSld: Invalid name "calculateSld" (should match [a-z_][a- |
---|
| 1635 | z0-9_]{2,30}$) |
---|
| 1636 | W:373:SldPanel.calculateSld: No exception type(s) specified |
---|
| 1637 | W:339:SldPanel.calculateSld: No exception type(s) specified |
---|
| 1638 | C:340:SldPanel.calculateSld: Operator not followed by a space |
---|
| 1639 | msg = "SLD Calculator: %s" %(sys.exc_value) |
---|
| 1640 | ^ |
---|
| 1641 | C:347:SldPanel.calculateSld: Comma not followed by a space |
---|
| 1642 | (sld_real, sld_im, sld_inc), (coh,absorp,incoh), \ |
---|
| 1643 | ^^ |
---|
| 1644 | length = neutron_scattering(self.compound, |
---|
| 1645 | self.density, self.wavelength) |
---|
| 1646 | C:374:SldPanel.calculateSld: Operator not followed by a space |
---|
| 1647 | msg = "SLD Calculator: %s"%(sys.exc_value) |
---|
| 1648 | ^ |
---|
| 1649 | W:347:SldPanel.calculateSld: Unused variable 'sld_inc' |
---|
| 1650 | W:347:SldPanel.calculateSld: Unused variable 'coh' |
---|
| 1651 | W:328:SldPanel.calculateSld: Unused argument 'event' |
---|
| 1652 | R: 35:SldPanel: Too many public methods (249/20) |
---|
| 1653 | W:143:SldPanel._do_layout: Attribute 'mo_ka_sld_im_ctl' defined outside __init__ |
---|
| 1654 | |
---|
| 1655 | W:140:SldPanel._do_layout: Attribute 'mo_ka_sld_reel_ctl' defined outside __init |
---|
| 1656 | __ |
---|
| 1657 | W:131:SldPanel._do_layout: Attribute 'cu_ka_sld_reel_ctl' defined outside __init |
---|
| 1658 | __ |
---|
| 1659 | W:155:SldPanel._do_layout: Attribute 'neutron_abs_ctl' defined outside __init__ |
---|
| 1660 | W:286:SldPanel.check_inputs: Attribute 'density' defined outside __init__ |
---|
| 1661 | W:122:SldPanel._do_layout: Attribute 'neutron_sld_reel_ctl' defined outside __in |
---|
| 1662 | it__ |
---|
| 1663 | W:301:SldPanel.check_inputs: Attribute 'compound' defined outside __init__ |
---|
| 1664 | W:134:SldPanel._do_layout: Attribute 'cu_ka_sld_im_ctl' defined outside __init__ |
---|
| 1665 | |
---|
| 1666 | W: 80:SldPanel._do_layout: Attribute 'density_ctl' defined outside __init__ |
---|
| 1667 | W:337:SldPanel.calculateSld: Attribute 'sld_formula' defined outside __init__ |
---|
| 1668 | W: 78:SldPanel._do_layout: Attribute 'compound_ctl' defined outside __init__ |
---|
| 1669 | W:161:SldPanel._do_layout: Attribute 'neutron_length_ctl' defined outside __init |
---|
| 1670 | __ |
---|
| 1671 | W: 83:SldPanel._do_layout: Attribute 'wavelength_ctl' defined outside __init__ |
---|
| 1672 | W:125:SldPanel._do_layout: Attribute 'neutron_sld_im_ctl' defined outside __init |
---|
| 1673 | __ |
---|
| 1674 | W:149:SldPanel._do_layout: Attribute 'neutron_inc_ctl' defined outside __init__ |
---|
| 1675 | C:381:SldWindow: Missing docstring |
---|
| 1676 | W:382:SldWindow.__init__: Redefining built-in 'id' |
---|
| 1677 | C:382:SldWindow.__init__: Comma not followed by a space |
---|
| 1678 | def __init__(self, parent=None, id=1, title="SLD Calculator",base=None): |
---|
| 1679 | ^^ |
---|
| 1680 | C:382:SldWindow.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30}$ |
---|
| 1681 | ) |
---|
| 1682 | C:382:SldWindow.__init__: Invalid name "id" (should match [a-z_][a-z0-9_]{2,30}$ |
---|
| 1683 | ) |
---|
| 1684 | R:381:SldWindow: Too many public methods (287/20) |
---|
| 1685 | C:389:ViewApp: Missing docstring |
---|
| 1686 | C:390:ViewApp.OnInit: Invalid name "OnInit" (should match [a-z_][a-z0-9_]{2,30}$ |
---|
| 1687 | ) |
---|
| 1688 | C:390:ViewApp.OnInit: Missing docstring |
---|
| 1689 | R:389:ViewApp: Too many public methods (66/20) |
---|
| 1690 | C:399: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1691 | W: 14: Unused import periodictable |
---|
| 1692 | W: 17: Unused import avogadro_number |
---|
| 1693 | ************* Module sans.perspectives.calculator.slit_length_calculator_panel |
---|
| 1694 | C: 89: Line too long (86/80) |
---|
| 1695 | C: 93: Line too long (81/80) |
---|
| 1696 | C: 99: Line too long (81/80) |
---|
| 1697 | C:147: Line too long (82/80) |
---|
| 1698 | C:179: Line too long (81/80) |
---|
| 1699 | C:189: Line too long (82/80) |
---|
| 1700 | C:200: Line too long (82/80) |
---|
| 1701 | W:208: Bad indentation. Found 17 spaces, expected 16 |
---|
| 1702 | W:209: Bad indentation. Found 17 spaces, expected 16 |
---|
| 1703 | C:217: Line too long (82/80) |
---|
| 1704 | C:229: Line too long (83/80) |
---|
| 1705 | W: 18: Relative import 'calculator_widgets', should be 'sans.perspectives.calcul |
---|
| 1706 | ator.calculator_widgets' |
---|
| 1707 | R: 31:SlitLengthCalculatorPanel: Too many instance attributes (16/7) |
---|
| 1708 | W: 42:SlitLengthCalculatorPanel.__init__: Redefining built-in 'id' |
---|
| 1709 | C: 42:SlitLengthCalculatorPanel.__init__: Invalid name "id" (should match [a-z_] |
---|
| 1710 | [a-z0-9_]{2,30}$) |
---|
| 1711 | C: 42:SlitLengthCalculatorPanel.__init__: Invalid name "id" (should match [a-z_] |
---|
| 1712 | [a-z0-9_]{2,30}$) |
---|
| 1713 | C: 59:SlitLengthCalculatorPanel._define_structure: Comma not followed by a space |
---|
| 1714 | |
---|
| 1715 | self.box_source = wx.StaticBox(self, -1,str("Slit Size Calculator")) |
---|
| 1716 | ^^ |
---|
| 1717 | W: 76:SlitLengthCalculatorPanel._layout_data_name: Redefining built-in 'id' |
---|
| 1718 | C: 72:SlitLengthCalculatorPanel._layout_data_name: Comma not followed by a space |
---|
| 1719 | |
---|
| 1720 | self.data_name_tcl = OutputTextCtrl(self, -1, size=(_BOX_WIDTH*4,-1)) |
---|
| 1721 | ^^ |
---|
| 1722 | C: 76:SlitLengthCalculatorPanel._layout_data_name: Invalid name "id" (should mat |
---|
| 1723 | ch [a-z_][a-z0-9_]{2,30}$) |
---|
| 1724 | C: 89:SlitLengthCalculatorPanel._layout_slit_size: Comma not followed by a space |
---|
| 1725 | |
---|
| 1726 | self.slit_size_tcl = InterActiveOutputTextCtrl(self, -1, size=(_BOX_WIDT |
---|
| 1727 | H,-1)) |
---|
| 1728 | |
---|
| 1729 | ^^ |
---|
| 1730 | C: 93:SlitLengthCalculatorPanel._layout_slit_size: Comma not followed by a space |
---|
| 1731 | |
---|
| 1732 | self.slit_size_unit_tcl = OutputTextCtrl(self, -1, size=(_BOX_WIDTH,-1)) |
---|
| 1733 | |
---|
| 1734 | ^^ |
---|
| 1735 | C:139:SlitLengthCalculatorPanel.choose_data_file: Missing docstring |
---|
| 1736 | C:147:SlitLengthCalculatorPanel.choose_data_file: Comma not followed by a space |
---|
| 1737 | dlg = wx.FileDialog(self, "Choose a file", location,"", wildcard, wx.OPE |
---|
| 1738 | N) |
---|
| 1739 | ^^ |
---|
| 1740 | W:141:SlitLengthCalculatorPanel.choose_data_file: Unused variable 'filename' |
---|
| 1741 | W:155:SlitLengthCalculatorPanel.on_close: Unused argument 'event' |
---|
| 1742 | W:186:SlitLengthCalculatorPanel.on_load_data: No exception type(s) specified |
---|
| 1743 | W:174:SlitLengthCalculatorPanel.on_load_data: Relative import 'load_thread', sho |
---|
| 1744 | uld be 'sans.perspectives.calculator.load_thread' |
---|
| 1745 | E:176:SlitLengthCalculatorPanel.on_load_data: Instance of 'DataReader' has no 'i |
---|
| 1746 | srunning' member |
---|
| 1747 | E:177:SlitLengthCalculatorPanel.on_load_data: Instance of 'DataReader' has no 's |
---|
| 1748 | top' member |
---|
| 1749 | E:184:SlitLengthCalculatorPanel.on_load_data: Instance of 'DataReader' has no 'q |
---|
| 1750 | ueue' member |
---|
| 1751 | C:188:SlitLengthCalculatorPanel.on_load_data: Operator not followed by a space |
---|
| 1752 | msg = "Slit Length Calculator: %s"%(sys.exc_value) |
---|
| 1753 | ^ |
---|
| 1754 | W:161:SlitLengthCalculatorPanel.on_load_data: Unused argument 'event' |
---|
| 1755 | W:214:SlitLengthCalculatorPanel.complete_loading: No exception type(s) specified |
---|
| 1756 | |
---|
| 1757 | C:205:SlitLengthCalculatorPanel.complete_loading: Invalid name "x" (should match |
---|
| 1758 | [a-z_][a-z0-9_]{2,30}$) |
---|
| 1759 | C:206:SlitLengthCalculatorPanel.complete_loading: Invalid name "y" (should match |
---|
| 1760 | [a-z_][a-z0-9_]{2,30}$) |
---|
| 1761 | C:216:SlitLengthCalculatorPanel.complete_loading: Operator not followed by a spa |
---|
| 1762 | ce |
---|
| 1763 | msg = "Slit Size Calculator: %s"%(sys.exc_value) |
---|
| 1764 | ^ |
---|
| 1765 | W:192:SlitLengthCalculatorPanel.complete_loading: Unused argument 'filename' |
---|
| 1766 | R: 31:SlitLengthCalculatorPanel: Too many public methods (249/20) |
---|
| 1767 | W: 72:SlitLengthCalculatorPanel._layout_data_name: Attribute 'data_name_tcl' def |
---|
| 1768 | ined outside __init__ |
---|
| 1769 | W: 89:SlitLengthCalculatorPanel._layout_slit_size: Attribute 'slit_size_tcl' def |
---|
| 1770 | ined outside __init__ |
---|
| 1771 | W: 62:SlitLengthCalculatorPanel._define_structure: Attribute 'data_name_sizer' d |
---|
| 1772 | efined outside __init__ |
---|
| 1773 | W:106:SlitLengthCalculatorPanel._layout_hint: Attribute 'hint_txt' defined outsi |
---|
| 1774 | de __init__ |
---|
| 1775 | W: 63:SlitLengthCalculatorPanel._define_structure: Attribute 'slit_size_sizer' d |
---|
| 1776 | efined outside __init__ |
---|
| 1777 | W: 93:SlitLengthCalculatorPanel._layout_slit_size: Attribute 'slit_size_unit_tcl |
---|
| 1778 | ' defined outside __init__ |
---|
| 1779 | W: 64:SlitLengthCalculatorPanel._define_structure: Attribute 'hint_sizer' define |
---|
| 1780 | d outside __init__ |
---|
| 1781 | W: 77:SlitLengthCalculatorPanel._layout_data_name: Attribute 'browse_button' def |
---|
| 1782 | ined outside __init__ |
---|
| 1783 | W:113:SlitLengthCalculatorPanel._layout_button: Attribute 'bt_close' defined out |
---|
| 1784 | side __init__ |
---|
| 1785 | W: 58:SlitLengthCalculatorPanel._define_structure: Attribute 'main_sizer' define |
---|
| 1786 | d outside __init__ |
---|
| 1787 | W: 60:SlitLengthCalculatorPanel._define_structure: Attribute 'boxsizer_source' d |
---|
| 1788 | efined outside __init__ |
---|
| 1789 | W: 65:SlitLengthCalculatorPanel._define_structure: Attribute 'button_sizer' defi |
---|
| 1790 | ned outside __init__ |
---|
| 1791 | W: 59:SlitLengthCalculatorPanel._define_structure: Attribute 'box_source' define |
---|
| 1792 | d outside __init__ |
---|
| 1793 | C:227:SlitLengthCalculatorWindow: Missing docstring |
---|
| 1794 | W:228:SlitLengthCalculatorWindow.__init__: Redefining built-in 'id' |
---|
| 1795 | C:228:SlitLengthCalculatorWindow.__init__: Invalid name "id" (should match [a-z_ |
---|
| 1796 | ][a-z0-9_]{2,30}$) |
---|
| 1797 | C:228:SlitLengthCalculatorWindow.__init__: Invalid name "id" (should match [a-z_ |
---|
| 1798 | ][a-z0-9_]{2,30}$) |
---|
| 1799 | C:229:SlitLengthCalculatorWindow.__init__: Comma not followed by a space |
---|
| 1800 | wx.Frame.__init__(self, parent, id, title, size=(PANEL_WIDTH,PANEL_HEIGH |
---|
| 1801 | T)) |
---|
| 1802 | ^^ |
---|
| 1803 | R:227:SlitLengthCalculatorWindow: Too many public methods (287/20) |
---|
| 1804 | C:236: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1805 | C:237: Invalid name "frame" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 1806 | W: 15: Unused import Reader |
---|
| 1807 | ************* Module sans.perspectives.calculator.source_editor |
---|
| 1808 | C: 59: Line too long (87/80) |
---|
| 1809 | C: 68: Line too long (82/80) |
---|
| 1810 | C: 78: Line too long (85/80) |
---|
| 1811 | C: 79: Line too long (81/80) |
---|
| 1812 | C: 88: Line too long (86/80) |
---|
| 1813 | C: 90: Line too long (89/80) |
---|
| 1814 | C: 91: Line too long (81/80) |
---|
| 1815 | C: 93: Line too long (84/80) |
---|
| 1816 | C:102: Line too long (90/80) |
---|
| 1817 | C:104: Line too long (93/80) |
---|
| 1818 | C:105: Line too long (89/80) |
---|
| 1819 | C:107: Line too long (88/80) |
---|
| 1820 | C:108: Line too long (85/80) |
---|
| 1821 | C:116: Line too long (90/80) |
---|
| 1822 | C:118: Line too long (93/80) |
---|
| 1823 | C:119: Line too long (89/80) |
---|
| 1824 | C:121: Line too long (87/80) |
---|
| 1825 | C:122: Line too long (84/80) |
---|
| 1826 | C:132: Line too long (93/80) |
---|
| 1827 | C:134: Line too long (96/80) |
---|
| 1828 | C:135: Line too long (86/80) |
---|
| 1829 | C:136: Line too long (81/80) |
---|
| 1830 | C:137: Line too long (91/80) |
---|
| 1831 | C:138: Line too long (87/80) |
---|
| 1832 | C:145: Line too long (90/80) |
---|
| 1833 | C:146: Line too long (89/80) |
---|
| 1834 | C:159: Line too long (84/80) |
---|
| 1835 | C:161: Line too long (84/80) |
---|
| 1836 | C:163: Line too long (85/80) |
---|
| 1837 | C:165: Line too long (88/80) |
---|
| 1838 | C:174: Line too long (81/80) |
---|
| 1839 | C:257: Line too long (81/80) |
---|
| 1840 | C:260: Line too long (81/80) |
---|
| 1841 | C:263: Line too long (87/80) |
---|
| 1842 | C:288: Line too long (84/80) |
---|
| 1843 | C:365: Line too long (83/80) |
---|
| 1844 | C:380: Line too long (83/80) |
---|
| 1845 | C:392: Line too long (83/80) |
---|
| 1846 | C:394: Line too long (89/80) |
---|
| 1847 | C:400: Line too long (81/80) |
---|
| 1848 | C:413: Line too long (86/80) |
---|
| 1849 | C:428: Line too long (88/80) |
---|
| 1850 | C:433: Line too long (81/80) |
---|
| 1851 | C:443: Line too long (88/80) |
---|
| 1852 | C:448: Line too long (81/80) |
---|
| 1853 | C:458: Line too long (88/80) |
---|
| 1854 | C:463: Line too long (81/80) |
---|
| 1855 | W:494: Bad indentation. Found 13 spaces, expected 12 |
---|
| 1856 | C: 1: Missing docstring |
---|
| 1857 | R: 19:SourceDialog: Too many instance attributes (38/7) |
---|
| 1858 | C: 19:SourceDialog: Missing docstring |
---|
| 1859 | W: 20:SourceDialog.__init__: Redefining name 'source' from outer scope (line 499 |
---|
| 1860 | ) |
---|
| 1861 | C: 39:SourceDialog._define_structure: Comma not followed by a space |
---|
| 1862 | self.box_source = wx.StaticBox(self, -1,str("source")) |
---|
| 1863 | ^^ |
---|
| 1864 | C: 90:SourceDialog._layout_wavelength: Comma not followed by a space |
---|
| 1865 | self.wavelength_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 20),s |
---|
| 1866 | tyle=0) |
---|
| 1867 | ^^ |
---|
| 1868 | |
---|
| 1869 | C:104:SourceDialog._layout_wavelength_min: Comma not followed by a space |
---|
| 1870 | self.wavelength_min_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 2 |
---|
| 1871 | 0),style=0) |
---|
| 1872 | |
---|
| 1873 | ^^ |
---|
| 1874 | C:118:SourceDialog._layout_wavelength_max: Comma not followed by a space |
---|
| 1875 | self.wavelength_max_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, 2 |
---|
| 1876 | 0),style=0) |
---|
| 1877 | |
---|
| 1878 | ^^ |
---|
| 1879 | C:134:SourceDialog._layout_wavelength_spread: Comma not followed by a space |
---|
| 1880 | self.wavelength_spread_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH |
---|
| 1881 | , 20),style=0) |
---|
| 1882 | |
---|
| 1883 | ^^ |
---|
| 1884 | W:129:SourceDialog._layout_wavelength_spread: Unused variable 'wavelength_spread |
---|
| 1885 | ' |
---|
| 1886 | W:130:SourceDialog._layout_wavelength_spread: Unused variable 'wavelength_spread |
---|
| 1887 | _unit' |
---|
| 1888 | C:159:SourceDialog._layout_beam_size: Comma not followed by a space |
---|
| 1889 | self.x_beam_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style |
---|
| 1890 | =0) |
---|
| 1891 | ^^ |
---|
| 1892 | C:161:SourceDialog._layout_beam_size: Comma not followed by a space |
---|
| 1893 | self.y_beam_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style |
---|
| 1894 | =0) |
---|
| 1895 | ^^ |
---|
| 1896 | C:163:SourceDialog._layout_beam_size: Comma not followed by a space |
---|
| 1897 | self.z_beam_size_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style |
---|
| 1898 | =0) |
---|
| 1899 | ^^ |
---|
| 1900 | C:165:SourceDialog._layout_beam_size: Comma not followed by a space |
---|
| 1901 | self.beam_size_unit_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), st |
---|
| 1902 | yle=0) |
---|
| 1903 | ^^ |
---|
| 1904 | W:155:SourceDialog._layout_beam_size: Unused variable 'beam_size_unit' |
---|
| 1905 | W:154:SourceDialog._layout_beam_size: Unused variable 'beam_size' |
---|
| 1906 | W:192:SourceDialog._do_layout: Unused argument 'data' |
---|
| 1907 | W:270:SourceDialog.set_values: Redefining name 'source' from outer scope (line 4 |
---|
| 1908 | 99) |
---|
| 1909 | C:291:SourceDialog.set_values: Invalid name "x" (should match [a-z_][a-z0-9_]{2, |
---|
| 1910 | 30}$) |
---|
| 1911 | C:291:SourceDialog.set_values: Invalid name "y" (should match [a-z_][a-z0-9_]{2, |
---|
| 1912 | 30}$) |
---|
| 1913 | C:291:SourceDialog.set_values: Invalid name "z" (should match [a-z_][a-z0-9_]{2, |
---|
| 1914 | 30}$) |
---|
| 1915 | C:319:SourceDialog.on_change_name: Operator not followed by a space |
---|
| 1916 | self._notes += "name from %s to %s \n"%(self._source.name, name) |
---|
| 1917 | ^ |
---|
| 1918 | C:330:SourceDialog.on_change_radiation: Operator not followed by a space |
---|
| 1919 | self._notes += " %s to %s \n"%(self._source.radiation, radiation) |
---|
| 1920 | ^ |
---|
| 1921 | C:340:SourceDialog.on_change_beam_shape: Operator not followed by a space |
---|
| 1922 | self._notes += " %s to %s \n"%(self._source.beam_shape, beam_shape) |
---|
| 1923 | ^ |
---|
| 1924 | C:350:SourceDialog.on_change_wavelength: Operator not followed by a space |
---|
| 1925 | self._notes += " %s to %s \n"%(self._source.wavelength, wavelength) |
---|
| 1926 | ^ |
---|
| 1927 | C:355:SourceDialog.on_change_wavelength: Operator not followed by a space |
---|
| 1928 | self._notes += "%s to %s"%(self._source.wavelength_unit, unit) |
---|
| 1929 | ^ |
---|
| 1930 | C:365:SourceDialog.on_change_wavelength_min: Operator not followed by a space |
---|
| 1931 | self._notes += " %s to %s \n"%(self._source.wavelength_min, wavelength_m |
---|
| 1932 | in) |
---|
| 1933 | ^ |
---|
| 1934 | C:370:SourceDialog.on_change_wavelength_min: Operator not followed by a space |
---|
| 1935 | self._notes += "%s to %s"%(self._source.wavelength_min_unit, unit) |
---|
| 1936 | ^ |
---|
| 1937 | C:380:SourceDialog.on_change_wavelength_max: Operator not followed by a space |
---|
| 1938 | self._notes += " %s to %s \n"%(self._source.wavelength_max, wavelength_m |
---|
| 1939 | ax) |
---|
| 1940 | ^ |
---|
| 1941 | C:385:SourceDialog.on_change_wavelength_max: Operator not followed by a space |
---|
| 1942 | self._notes += "%s to %s"%(self._source.wavelength_max_unit, unit) |
---|
| 1943 | ^ |
---|
| 1944 | C:394:SourceDialog.on_change_wavelength_spread: Operator not followed by a space |
---|
| 1945 | |
---|
| 1946 | self._notes += " %s to %s \n"%(self._source.wavelength_spread, wavelengt |
---|
| 1947 | h_spread) |
---|
| 1948 | ^ |
---|
| 1949 | C:400:SourceDialog.on_change_wavelength_spread: Operator not followed by a space |
---|
| 1950 | |
---|
| 1951 | self._notes += "%s to %s"%(self._source.wavelength_spread_unit, unit |
---|
| 1952 | ) |
---|
| 1953 | ^ |
---|
| 1954 | C:413:SourceDialog.on_change_beam_size_name: Operator not followed by a space |
---|
| 1955 | self._notes += "name from %s to %s \n"%(self._source.beam_size_name, |
---|
| 1956 | name) |
---|
| 1957 | ^ |
---|
| 1958 | C:428:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1959 | self._notes += "%s to %s \n"%(self._source.beam_size.x, x_be |
---|
| 1960 | am_size) |
---|
| 1961 | ^ |
---|
| 1962 | C:433:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1963 | self._notes += "%s to %s"%(self._source.beam_size.x, x_beam_size |
---|
| 1964 | ) |
---|
| 1965 | ^ |
---|
| 1966 | C:443:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1967 | self._notes += "%s to %s \n"%(self._source.beam_size.y, y_be |
---|
| 1968 | am_size) |
---|
| 1969 | ^ |
---|
| 1970 | C:448:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1971 | self._notes += "%s to %s"%(self._source.beam_size.y, y_beam_size |
---|
| 1972 | ) |
---|
| 1973 | ^ |
---|
| 1974 | C:458:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1975 | self._notes += "%s to %s \n"%(self._source.beam_size.z, z_be |
---|
| 1976 | am_size) |
---|
| 1977 | ^ |
---|
| 1978 | C:463:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1979 | self._notes += "%s to %s"%(self._source.beam_size.z, z_beam_size |
---|
| 1980 | ) |
---|
| 1981 | ^ |
---|
| 1982 | C:468:SourceDialog.on_change_beam_size: Operator not followed by a space |
---|
| 1983 | self._notes += "%s to %s"%(self._source.beam_size_unit, unit) |
---|
| 1984 | ^ |
---|
| 1985 | R:416:SourceDialog.on_change_beam_size: Too many branches (13/12) |
---|
| 1986 | W:471:SourceDialog.on_click_apply: Unused argument 'event' |
---|
| 1987 | W:487:SourceDialog.on_click_cancel: Unused argument 'event' |
---|
| 1988 | R: 19:SourceDialog: Too many public methods (299/20) |
---|
| 1989 | W:186:SourceDialog._layout_button: Attribute 'bt_close' defined outside __init__ |
---|
| 1990 | |
---|
| 1991 | W: 90:SourceDialog._layout_wavelength: Attribute 'wavelength_unit_tcl' defined o |
---|
| 1992 | utside __init__ |
---|
| 1993 | W: 68:SourceDialog._layout_radiation: Attribute 'radiation_tcl' defined outside |
---|
| 1994 | __init__ |
---|
| 1995 | W: 44:SourceDialog._define_structure: Attribute 'beam_shape_sizer' defined outsi |
---|
| 1996 | de __init__ |
---|
| 1997 | W: 50:SourceDialog._define_structure: Attribute 'beam_size_sizer' defined outsid |
---|
| 1998 | e __init__ |
---|
| 1999 | W: 49:SourceDialog._define_structure: Attribute 'beam_size_name_sizer' defined o |
---|
| 2000 | utside __init__ |
---|
| 2001 | W: 59:SourceDialog._layout_name: Attribute 'sample_name_tcl' defined outside __i |
---|
| 2002 | nit__ |
---|
| 2003 | W: 45:SourceDialog._define_structure: Attribute 'wavelength_sizer' defined outsi |
---|
| 2004 | de __init__ |
---|
| 2005 | W: 46:SourceDialog._define_structure: Attribute 'wavelength_min_sizer' defined o |
---|
| 2006 | utside __init__ |
---|
| 2007 | W: 40:SourceDialog._define_structure: Attribute 'boxsizer_source' defined outsid |
---|
| 2008 | e __init__ |
---|
| 2009 | W: 51:SourceDialog._define_structure: Attribute 'button_sizer' defined outside _ |
---|
| 2010 | _init__ |
---|
| 2011 | W: 78:SourceDialog._layout_beam_shape: Attribute 'beam_shape_tcl' defined outsid |
---|
| 2012 | e __init__ |
---|
| 2013 | W:163:SourceDialog._layout_beam_size: Attribute 'z_beam_size_tcl' defined outsid |
---|
| 2014 | e __init__ |
---|
| 2015 | W:102:SourceDialog._layout_wavelength_min: Attribute 'wavelength_min_tcl' define |
---|
| 2016 | d outside __init__ |
---|
| 2017 | W:145:SourceDialog._layout_beam_size_name: Attribute 'beam_size_name_tcl' define |
---|
| 2018 | d outside __init__ |
---|
| 2019 | W:183:SourceDialog._layout_button: Attribute 'bt_cancel' defined outside __init_ |
---|
| 2020 | _ |
---|
| 2021 | W:116:SourceDialog._layout_wavelength_max: Attribute 'wavelength_max_tcl' define |
---|
| 2022 | d outside __init__ |
---|
| 2023 | W: 38:SourceDialog._define_structure: Attribute 'main_sizer' defined outside __i |
---|
| 2024 | nit__ |
---|
| 2025 | W:118:SourceDialog._layout_wavelength_max: Attribute 'wavelength_max_unit_tcl' d |
---|
| 2026 | efined outside __init__ |
---|
| 2027 | W:134:SourceDialog._layout_wavelength_spread: Attribute 'wavelength_spread_unit_ |
---|
| 2028 | tcl' defined outside __init__ |
---|
| 2029 | W: 42:SourceDialog._define_structure: Attribute 'name_sizer' defined outside __i |
---|
| 2030 | nit__ |
---|
| 2031 | W: 43:SourceDialog._define_structure: Attribute 'radiation_sizer' defined outsid |
---|
| 2032 | e __init__ |
---|
| 2033 | W: 39:SourceDialog._define_structure: Attribute 'box_source' defined outside __i |
---|
| 2034 | nit__ |
---|
| 2035 | W: 47:SourceDialog._define_structure: Attribute 'wavelength_max_sizer' defined o |
---|
| 2036 | utside __init__ |
---|
| 2037 | W:180:SourceDialog._layout_button: Attribute 'bt_apply' defined outside __init__ |
---|
| 2038 | |
---|
| 2039 | W: 48:SourceDialog._define_structure: Attribute 'wavelength_spread_sizer' define |
---|
| 2040 | d outside __init__ |
---|
| 2041 | W:104:SourceDialog._layout_wavelength_min: Attribute 'wavelength_min_unit_tcl' d |
---|
| 2042 | efined outside __init__ |
---|
| 2043 | W: 88:SourceDialog._layout_wavelength: Attribute 'wavelength_tcl' defined outsid |
---|
| 2044 | e __init__ |
---|
| 2045 | W:165:SourceDialog._layout_beam_size: Attribute 'beam_size_unit_tcl' defined out |
---|
| 2046 | side __init__ |
---|
| 2047 | W:161:SourceDialog._layout_beam_size: Attribute 'y_beam_size_tcl' defined outsid |
---|
| 2048 | e __init__ |
---|
| 2049 | W:159:SourceDialog._layout_beam_size: Attribute 'x_beam_size_tcl' defined outsid |
---|
| 2050 | e __init__ |
---|
| 2051 | W:132:SourceDialog._layout_wavelength_spread: Attribute 'wavelength_spread_tcl' |
---|
| 2052 | defined outside __init__ |
---|
| 2053 | C:496: Operator not followed by a space |
---|
| 2054 | if __name__ =="__main__": |
---|
| 2055 | ^^ |
---|
| 2056 | C:497: Invalid name "app" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 2057 | C:499: Invalid name "source" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 2058 | C:500: Invalid name "dlg" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) |
---|
| 2059 | R: 1: Similar lines in 3 files |
---|
| 2060 | ==sans.perspectives.calculator.aperture_editor:124 |
---|
| 2061 | ==sans.perspectives.calculator.sample_editor:175 |
---|
| 2062 | ==sans.perspectives.calculator.source_editor:182 |
---|
| 2063 | self.bt_cancel = wx.Button(self, -1,'Cancel') |
---|
| 2064 | self.bt_cancel.SetToolTipString("Cancel current changes.") |
---|
| 2065 | self.bt_cancel.Bind(wx.EVT_BUTTON, self.on_click_cancel) |
---|
| 2066 | self.bt_close = wx.Button(self, wx.ID_CANCEL,'Close') |
---|
| 2067 | self.bt_close.SetToolTipString("Close window.") |
---|
| 2068 | self.button_sizer.AddMany([(self.bt_apply, 0, wx.LEFT, 200), |
---|
| 2069 | (self.bt_cancel, 0, wx.LEFT, 10), |
---|
| 2070 | (self.bt_close, 0, wx.LEFT, 10)]) |
---|
| 2071 | |
---|
| 2072 | def _do_layout(self, data=None): |
---|
| 2073 | """ |
---|
| 2074 | Draw the current panel |
---|
| 2075 | """ |
---|
| 2076 | self._define_structure() |
---|
| 2077 | self._layout_name() |
---|
| 2078 | R: 1: Similar lines in 2 files |
---|
| 2079 | ==sans.perspectives.calculator.sample_editor:301 |
---|
| 2080 | ==sans.perspectives.calculator.source_editor:302 |
---|
| 2081 | def get_notes(self): |
---|
| 2082 | """ |
---|
| 2083 | return notes |
---|
| 2084 | """ |
---|
| 2085 | return self._notes |
---|
| 2086 | |
---|
| 2087 | def on_change_name(self): |
---|
| 2088 | """ |
---|
| 2089 | Change name |
---|
| 2090 | """ |
---|
| 2091 | #Change the name of the sample |
---|
| 2092 | name = self.sample_name_tcl.GetValue().lstrip().rstrip() |
---|
| 2093 | if name == "" or name == str(None): |
---|
| 2094 | name = None |
---|
| 2095 | R: 1: Similar lines in 4 files |
---|
| 2096 | ==sans.perspectives.calculator.aperture_editor:124 |
---|
| 2097 | ==sans.perspectives.calculator.detector_editor:232 |
---|
| 2098 | ==sans.perspectives.calculator.sample_editor:175 |
---|
| 2099 | ==sans.perspectives.calculator.source_editor:182 |
---|
| 2100 | self.bt_cancel = wx.Button(self, -1,'Cancel') |
---|
| 2101 | self.bt_cancel.SetToolTipString("Cancel current changes.") |
---|
| 2102 | self.bt_cancel.Bind(wx.EVT_BUTTON, self.on_click_cancel) |
---|
| 2103 | self.bt_close = wx.Button(self, wx.ID_CANCEL,'Close') |
---|
| 2104 | self.bt_close.SetToolTipString("Close window.") |
---|
| 2105 | self.button_sizer.AddMany([(self.bt_apply, 0, wx.LEFT, 200), |
---|
| 2106 | (self.bt_cancel, 0, wx.LEFT, 10), |
---|
| 2107 | (self.bt_close, 0, wx.LEFT, 10)]) |
---|
| 2108 | |
---|
| 2109 | def _do_layout(self, data=None): |
---|
| 2110 | """ |
---|
| 2111 | Draw the current panel |
---|
| 2112 | """ |
---|
| 2113 | self._define_structure() |
---|
| 2114 | R: 1: Similar lines in 2 files |
---|
| 2115 | ==sans.perspectives.calculator.sample_editor:48 |
---|
| 2116 | ==sans.perspectives.calculator.source_editor:50 |
---|
| 2117 | self.button_sizer = wx.BoxSizer(wx.HORIZONTAL) |
---|
| 2118 | |
---|
| 2119 | def _layout_name(self): |
---|
| 2120 | """ |
---|
| 2121 | Do the layout for sample name related widgets |
---|
| 2122 | """ |
---|
| 2123 | # Sample name [string] |
---|
| 2124 | sample_name_txt = wx.StaticText(self, -1, 'Sample Name : ') |
---|
| 2125 | self.sample_name_tcl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH*5, 20), st |
---|
| 2126 | yle=0) |
---|
| 2127 | self.name_sizer.AddMany([(sample_name_txt, 0, wx.LEFT|wx.RIGHT, 10), |
---|
| 2128 | (self.sample_name_tcl, 0, wx.EXPAND)]) |
---|
| 2129 | R: 1: Similar lines in 2 files |
---|
| 2130 | ==sans.perspectives.calculator.sample_editor:7 |
---|
| 2131 | ==sans.perspectives.calculator.source_editor:7 |
---|
| 2132 | if sys.platform.count("win32")>0: |
---|
| 2133 | _STATICBOX_WIDTH = 450 |
---|
| 2134 | PANEL_WIDTH = 500 |
---|
| 2135 | PANEL_HEIGHT = 430 |
---|
| 2136 | FONT_VARIANT = 0 |
---|
| 2137 | else: |
---|
| 2138 | _STATICBOX_WIDTH = 480 |
---|
| 2139 | PANEL_WIDTH = 550 |
---|
| 2140 | PANEL_HEIGHT = 430 |
---|
| 2141 | FONT_VARIANT = 1 |
---|
| 2142 | |
---|
| 2143 | R: 1: Similar lines in 2 files |
---|
| 2144 | ==sans.perspectives.calculator.help_panel:151 |
---|
| 2145 | ==sans.perspectives.calculator.sld_panel:391 |
---|
| 2146 | frame.Show(True) |
---|
| 2147 | self.SetTopWindow(frame) |
---|
| 2148 | |
---|
| 2149 | return True |
---|
| 2150 | |
---|
| 2151 | |
---|
| 2152 | if __name__ == "__main__": |
---|
| 2153 | app = ViewApp(0) |
---|
| 2154 | app.MainLoop() |
---|
| 2155 | R: 1: Similar lines in 2 files |
---|
| 2156 | ==sans.perspectives.calculator.detector_editor:155 |
---|
| 2157 | ==sans.perspectives.calculator.sample_editor:148 |
---|
| 2158 | (self.x_orientation_tcl, 0, wx.RIGHT, 10), |
---|
| 2159 | (y_orientation_txt, 0, wx.EXPAND), |
---|
| 2160 | (self.y_orientation_tcl, 0, wx.RIGHT, 10), |
---|
| 2161 | (z_orientation_txt, 0, wx.EXPAND), |
---|
| 2162 | (self.z_orientation_tcl, 0, wx.RIGHT, 10), |
---|
| 2163 | (orientation_unit_txt, 0, wx.EXPAND), |
---|
| 2164 | (self.orientation_unit_tcl, 0, wx.RIGHT, 10 |
---|
| 2165 | )]) |
---|
| 2166 | |
---|
| 2167 | R: 1: Similar lines in 5 files |
---|
| 2168 | ==sans.perspectives.calculator.aperture_editor:124 |
---|
| 2169 | ==sans.perspectives.calculator.collimation_editor:129 |
---|
| 2170 | ==sans.perspectives.calculator.detector_editor:232 |
---|
| 2171 | ==sans.perspectives.calculator.sample_editor:175 |
---|
| 2172 | ==sans.perspectives.calculator.source_editor:182 |
---|
| 2173 | self.bt_cancel = wx.Button(self, -1,'Cancel') |
---|
| 2174 | self.bt_cancel.SetToolTipString("Cancel current changes.") |
---|
| 2175 | self.bt_cancel.Bind(wx.EVT_BUTTON, self.on_click_cancel) |
---|
| 2176 | self.bt_close = wx.Button(self, wx.ID_CANCEL,'Close') |
---|
| 2177 | self.bt_close.SetToolTipString("Close window.") |
---|
| 2178 | self.button_sizer.AddMany([(self.bt_apply, 0, wx.LEFT, 200), |
---|
| 2179 | (self.bt_cancel, 0, wx.LEFT, 10), |
---|
| 2180 | (self.bt_close, 0, wx.LEFT, 10)]) |
---|
| 2181 | R: 1: Similar lines in 2 files |
---|
| 2182 | ==sans.perspectives.calculator.data_editor:515 |
---|
| 2183 | ==sans.perspectives.calculator.slit_length_calculator_panel:170 |
---|
| 2184 | self._default_save_location = path |
---|
| 2185 | try: |
---|
| 2186 | #Load data |
---|
| 2187 | from load_thread import DataReader |
---|
| 2188 | ## If a thread is already started, stop it |
---|
| 2189 | if self.reader is not None and self.reader.isrunning(): |
---|
| 2190 | self.reader.stop() |
---|
| 2191 | R: 1: Similar lines in 2 files |
---|
| 2192 | ==sans.perspectives.calculator.aperture_editor:5 |
---|
| 2193 | ==sans.perspectives.calculator.sample_editor:4 |
---|
| 2194 | from sans.guiframe.utils import check_float |
---|
| 2195 | |
---|
| 2196 | _BOX_WIDTH = 60 |
---|
| 2197 | if sys.platform.count("win32")>0: |
---|
| 2198 | _STATICBOX_WIDTH = 450 |
---|
| 2199 | PANEL_WIDTH = 500 |
---|
| 2200 | R: 1: Similar lines in 2 files |
---|
| 2201 | ==sans.perspectives.calculator.data_editor:522 |
---|
| 2202 | ==sans.perspectives.calculator.slit_length_calculator_panel:180 |
---|
| 2203 | self.reader = DataReader(path=path, |
---|
| 2204 | completefn=self.complete_loading, |
---|
| 2205 | updatefn=None) |
---|
| 2206 | self.reader.queue() |
---|
| 2207 | except: |
---|
| 2208 | |
---|
| 2209 | |
---|
| 2210 | Report |
---|
| 2211 | ====== |
---|
| 2212 | 2789 statements analysed. |
---|
| 2213 | |
---|
| 2214 | Statistics by type |
---|
| 2215 | ------------------ |
---|
| 2216 | |
---|
| 2217 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 2218 | |type |number |old number |difference |%documented |%badname | |
---|
| 2219 | +=========+=======+===========+===========+============+=========+ |
---|
| 2220 | |module |14 |14 |= |21.43 |0.00 | |
---|
| 2221 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 2222 | |class |21 |21 |= |38.10 |0.00 | |
---|
| 2223 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 2224 | |method |230 |230 |= |93.91 |1.74 | |
---|
| 2225 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 2226 | |function |4 |4 |= |75.00 |0.00 | |
---|
| 2227 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 2228 | |
---|
| 2229 | |
---|
| 2230 | |
---|
| 2231 | External dependencies |
---|
| 2232 | --------------------- |
---|
| 2233 | :: |
---|
| 2234 | |
---|
| 2235 | DataLoader |
---|
| 2236 | \-data_info |
---|
| 2237 | | \-Aperture (sans.perspectives.calculator.aperture_editor,sans.perspectiv |
---|
| 2238 | es.calculator.collimation_editor) |
---|
| 2239 | | \-Collimation (sans.perspectives.calculator.collimation_editor,sans.pers |
---|
| 2240 | pectives.calculator.data_editor) |
---|
| 2241 | | \-Data2D (sans.perspectives.calculator.data_editor) |
---|
| 2242 | | \-DataInfo (sans.perspectives.calculator.data_editor) |
---|
| 2243 | | \-Detector (sans.perspectives.calculator.detector_editor,sans.perspectiv |
---|
| 2244 | es.calculator.data_editor) |
---|
| 2245 | | \-Sample (sans.perspectives.calculator.sample_editor) |
---|
| 2246 | | \-Source (sans.perspectives.calculator.source_editor) |
---|
| 2247 | \-loader |
---|
| 2248 | | \-Loader (sans.perspectives.calculator.aperture_editor,sans.perspectives |
---|
| 2249 | .calculator.load_thread,sans.perspectives.calculator.collimation_editor,sans.per |
---|
| 2250 | spectives.calculator.console,sans.perspectives.calculator.data_editor) |
---|
| 2251 | \-readers |
---|
| 2252 | \-ascii_reader |
---|
| 2253 | \-Reader (sans.perspectives.calculator.slit_length_calculator_panel) |
---|
| 2254 | periodictable (sans.perspectives.calculator.sld_panel) |
---|
| 2255 | \-constants |
---|
| 2256 | | \-avogadro_number (sans.perspectives.calculator.sld_panel) |
---|
| 2257 | \-formula (sans.perspectives.calculator.sld_panel) |
---|
| 2258 | \-nsf |
---|
| 2259 | | \-neutron_scattering (sans.perspectives.calculator.sld_panel) |
---|
| 2260 | \-xsf |
---|
| 2261 | \-xray_energy (sans.perspectives.calculator.sld_panel) |
---|
| 2262 | \-xray_sld_from_atoms (sans.perspectives.calculator.sld_panel) |
---|
| 2263 | sans |
---|
| 2264 | \-calculator |
---|
| 2265 | | \-slit_length_calculator |
---|
| 2266 | | \-SlitlengthCalculator (sans.perspectives.calculator.slit_length_calcu |
---|
| 2267 | lator_panel) |
---|
| 2268 | \-guicomm |
---|
| 2269 | | \-events |
---|
| 2270 | | \-StatusEvent (sans.perspectives.calculator.sld_panel,sans.perspective |
---|
| 2271 | s.calculator.data_editor,sans.perspectives.calculator.slit_length_calculator_pan |
---|
| 2272 | el) |
---|
| 2273 | \-guiframe |
---|
| 2274 | | \-utils |
---|
| 2275 | | \-check_float (sans.perspectives.calculator.data_editor,sans.perspecti |
---|
| 2276 | ves.calculator.sld_panel,sans.perspectives.calculator.detector_editor,sans.persp |
---|
| 2277 | ectives.calculator.sample_editor,sans.perspectives.calculator.collimation_editor |
---|
| 2278 | ,sans.perspectives.calculator.aperture_editor,sans.perspectives.calculator.sourc |
---|
| 2279 | e_editor) |
---|
| 2280 | | \-format_number (sans.perspectives.calculator.sld_panel) |
---|
| 2281 | \-perspectives |
---|
| 2282 | \-calculator (sans.perspectives.calculator.help_panel) |
---|
| 2283 | \-aperture_editor |
---|
| 2284 | | \-ApertureDialog (sans.perspectives.calculator.collimation_editor) |
---|
| 2285 | \-calculator_widgets |
---|
| 2286 | | \-InterActiveOutputTextCtrl (sans.perspectives.calculator.slit_lengt |
---|
| 2287 | h_calculator_panel) |
---|
| 2288 | | \-OutputTextCtrl (sans.perspectives.calculator.slit_length_calculato |
---|
| 2289 | r_panel) |
---|
| 2290 | \-collimation_editor |
---|
| 2291 | | \-CollimationDialog (sans.perspectives.calculator.data_editor) |
---|
| 2292 | \-console |
---|
| 2293 | | \-ConsoleDialog (sans.perspectives.calculator.data_editor) |
---|
| 2294 | \-data_editor |
---|
| 2295 | | \-DataEditorWindow (sans.perspectives.calculator.calculator) |
---|
| 2296 | \-detector_editor |
---|
| 2297 | | \-DetectorDialog (sans.perspectives.calculator.data_editor) |
---|
| 2298 | \-help_panel |
---|
| 2299 | | \-HelpWindow (sans.perspectives.calculator.calculator) |
---|
| 2300 | \-load_thread |
---|
| 2301 | | \-DataReader (sans.perspectives.calculator.slit_length_calculator_pa |
---|
| 2302 | nel,sans.perspectives.calculator.data_editor) |
---|
| 2303 | \-sample_editor |
---|
| 2304 | | \-SampleDialog (sans.perspectives.calculator.data_editor) |
---|
| 2305 | \-sld_panel |
---|
| 2306 | | \-SldWindow (sans.perspectives.calculator.calculator) |
---|
| 2307 | \-slit_length_calculator_panel |
---|
| 2308 | | \-SlitLengthCalculatorWindow (sans.perspectives.calculator.calculato |
---|
| 2309 | r) |
---|
| 2310 | \-source_editor |
---|
| 2311 | \-SourceDialog (sans.perspectives.calculator.data_editor) |
---|
| 2312 | wx (sans.perspectives.calculator.console,sans.perspectives.calculator.data_e |
---|
| 2313 | ditor,sans.perspectives.calculator.sld_panel,sans.perspectives.calculator.detect |
---|
| 2314 | or_editor,sans.perspectives.calculator.source_editor,sans.perspectives.calculato |
---|
| 2315 | r.help_panel,sans.perspectives.calculator.sample_editor,sans.perspectives.calcul |
---|
| 2316 | ator.collimation_editor,sans.perspectives.calculator.calculator_widgets,sans.per |
---|
| 2317 | spectives.calculator.aperture_editor,sans.perspectives.calculator.calculator,san |
---|
| 2318 | s.perspectives.calculator.slit_length_calculator_panel) |
---|
| 2319 | \-html (sans.perspectives.calculator.help_panel) |
---|
| 2320 | \-lib |
---|
| 2321 | \-splitter |
---|
| 2322 | \-MultiSplitterWindow (sans.perspectives.calculator.help_panel) |
---|
| 2323 | |
---|
| 2324 | |
---|
| 2325 | |
---|
| 2326 | Raw metrics |
---|
| 2327 | ----------- |
---|
| 2328 | |
---|
| 2329 | +----------+-------+------+---------+-----------+ |
---|
| 2330 | |type |number |% |previous |difference | |
---|
| 2331 | +==========+=======+======+=========+===========+ |
---|
| 2332 | |code |3189 |73.72 |3189 |= | |
---|
| 2333 | +----------+-------+------+---------+-----------+ |
---|
| 2334 | |docstring |752 |17.38 |752 |= | |
---|
| 2335 | +----------+-------+------+---------+-----------+ |
---|
| 2336 | |comment |88 |2.03 |88 |= | |
---|
| 2337 | +----------+-------+------+---------+-----------+ |
---|
| 2338 | |empty |297 |6.87 |297 |= | |
---|
| 2339 | +----------+-------+------+---------+-----------+ |
---|
| 2340 | |
---|
| 2341 | |
---|
| 2342 | |
---|
| 2343 | Duplication |
---|
| 2344 | ----------- |
---|
| 2345 | |
---|
| 2346 | +-------------------------+------+---------+-----------+ |
---|
| 2347 | | |now |previous |difference | |
---|
| 2348 | +=========================+======+=========+===========+ |
---|
| 2349 | |nb duplicated lines |175 |175 |= | |
---|
| 2350 | +-------------------------+------+---------+-----------+ |
---|
| 2351 | |percent duplicated lines |3.822 |3.822 |= | |
---|
| 2352 | +-------------------------+------+---------+-----------+ |
---|
| 2353 | |
---|
| 2354 | |
---|
| 2355 | |
---|
| 2356 | Messages by category |
---|
| 2357 | -------------------- |
---|
| 2358 | |
---|
| 2359 | +-----------+-------+---------+-----------+ |
---|
| 2360 | |type |number |previous |difference | |
---|
| 2361 | +===========+=======+=========+===========+ |
---|
| 2362 | |convention |609 |609 |= | |
---|
| 2363 | +-----------+-------+---------+-----------+ |
---|
| 2364 | |refactor |57 |57 |= | |
---|
| 2365 | +-----------+-------+---------+-----------+ |
---|
| 2366 | |warning |413 |413 |= | |
---|
| 2367 | +-----------+-------+---------+-----------+ |
---|
| 2368 | |error |11 |11 |= | |
---|
| 2369 | +-----------+-------+---------+-----------+ |
---|
| 2370 | |
---|
| 2371 | |
---|
| 2372 | |
---|
| 2373 | % errors / warnings by module |
---|
| 2374 | ----------------------------- |
---|
| 2375 | |
---|
| 2376 | +----------------------------------------------------------+------+--------+---- |
---|
| 2377 | -----+-----------+ |
---|
| 2378 | |module |error |warning |refa |
---|
| 2379 | ctor |convention | |
---|
| 2380 | +==========================================================+======+========+==== |
---|
| 2381 | =====+===========+ |
---|
| 2382 | |sans.perspectives.calculator.data_editor |45.45 |23.24 |5.26 |
---|
| 2383 | |5.91 | |
---|
| 2384 | +----------------------------------------------------------+------+--------+---- |
---|
| 2385 | -----+-----------+ |
---|
| 2386 | |sans.perspectives.calculator.slit_length_calculator_panel |27.27 |6.54 |5.26 |
---|
| 2387 | |4.60 | |
---|
| 2388 | +----------------------------------------------------------+------+--------+---- |
---|
| 2389 | -----+-----------+ |
---|
| 2390 | |sans.perspectives.calculator.sld_panel |18.18 |6.54 |12.2 |
---|
| 2391 | 8 |19.21 | |
---|
| 2392 | +----------------------------------------------------------+------+--------+---- |
---|
| 2393 | -----+-----------+ |
---|
| 2394 | |sans.perspectives.calculator.load_thread |9.09 |0.48 |1.75 |
---|
| 2395 | |0.16 | |
---|
| 2396 | +----------------------------------------------------------+------+--------+---- |
---|
| 2397 | -----+-----------+ |
---|
| 2398 | |sans.perspectives.calculator.detector_editor |0.00 |16.46 |12.2 |
---|
| 2399 | 8 |20.36 | |
---|
| 2400 | +----------------------------------------------------------+------+--------+---- |
---|
| 2401 | -----+-----------+ |
---|
| 2402 | |sans.perspectives.calculator.collimation_editor |0.00 |10.90 |3.51 |
---|
| 2403 | |4.76 | |
---|
| 2404 | +----------------------------------------------------------+------+--------+---- |
---|
| 2405 | -----+-----------+ |
---|
| 2406 | |sans.perspectives.calculator.source_editor |0.00 |10.17 |24.5 |
---|
| 2407 | 6 |13.79 | |
---|
| 2408 | +----------------------------------------------------------+------+--------+---- |
---|
| 2409 | -----+-----------+ |
---|
| 2410 | |sans.perspectives.calculator.sample_editor |0.00 |9.93 |8.77 |
---|
| 2411 | |12.32 | |
---|
| 2412 | +----------------------------------------------------------+------+--------+---- |
---|
| 2413 | -----+-----------+ |
---|
| 2414 | |sans.perspectives.calculator.aperture_editor |0.00 |7.02 |5.26 |
---|
| 2415 | |8.87 | |
---|
| 2416 | +----------------------------------------------------------+------+--------+---- |
---|
| 2417 | -----+-----------+ |
---|
| 2418 | |sans.perspectives.calculator.calculator |0.00 |4.12 |5.26 |
---|
| 2419 | |0.66 | |
---|
| 2420 | +----------------------------------------------------------+------+--------+---- |
---|
| 2421 | -----+-----------+ |
---|
| 2422 | |sans.perspectives.calculator |0.00 |1.94 |0.00 |
---|
| 2423 | |0.66 | |
---|
| 2424 | +----------------------------------------------------------+------+--------+---- |
---|
| 2425 | -----+-----------+ |
---|
| 2426 | |sans.perspectives.calculator.help_panel |0.00 |1.21 |7.02 |
---|
| 2427 | |6.40 | |
---|
| 2428 | +----------------------------------------------------------+------+--------+---- |
---|
| 2429 | -----+-----------+ |
---|
| 2430 | |sans.perspectives.calculator.calculator_widgets |0.00 |0.73 |5.26 |
---|
| 2431 | |0.49 | |
---|
| 2432 | +----------------------------------------------------------+------+--------+---- |
---|
| 2433 | -----+-----------+ |
---|
| 2434 | |sans.perspectives.calculator.console |0.00 |0.73 |3.51 |
---|
| 2435 | |1.81 | |
---|
| 2436 | +----------------------------------------------------------+------+--------+---- |
---|
| 2437 | -----+-----------+ |
---|
| 2438 | |
---|
| 2439 | |
---|
| 2440 | |
---|
| 2441 | Messages |
---|
| 2442 | -------- |
---|
| 2443 | |
---|
| 2444 | +-----------+------------+ |
---|
| 2445 | |message id |occurrences | |
---|
| 2446 | +===========+============+ |
---|
| 2447 | |C0301 |210 | |
---|
| 2448 | +-----------+------------+ |
---|
| 2449 | |W0201 |207 | |
---|
| 2450 | +-----------+------------+ |
---|
| 2451 | |C0323 |124 | |
---|
| 2452 | +-----------+------------+ |
---|
| 2453 | |C0103 |124 | |
---|
| 2454 | +-----------+------------+ |
---|
| 2455 | |C0324 |104 | |
---|
| 2456 | +-----------+------------+ |
---|
| 2457 | |W0613 |49 | |
---|
| 2458 | +-----------+------------+ |
---|
| 2459 | |W0612 |49 | |
---|
| 2460 | +-----------+------------+ |
---|
| 2461 | |W0311 |29 | |
---|
| 2462 | +-----------+------------+ |
---|
| 2463 | |W0621 |26 | |
---|
| 2464 | +-----------+------------+ |
---|
| 2465 | |C0111 |26 | |
---|
| 2466 | +-----------+------------+ |
---|
| 2467 | |R0904 |19 | |
---|
| 2468 | +-----------+------------+ |
---|
| 2469 | |W0622 |15 | |
---|
| 2470 | +-----------+------------+ |
---|
| 2471 | |W0403 |14 | |
---|
| 2472 | +-----------+------------+ |
---|
| 2473 | |C0112 |13 | |
---|
| 2474 | +-----------+------------+ |
---|
| 2475 | |W0611 |11 | |
---|
| 2476 | +-----------+------------+ |
---|
| 2477 | |R0801 |11 | |
---|
| 2478 | +-----------+------------+ |
---|
| 2479 | |E1101 |9 | |
---|
| 2480 | +-----------+------------+ |
---|
| 2481 | |R0912 |8 | |
---|
| 2482 | +-----------+------------+ |
---|
| 2483 | |R0902 |8 | |
---|
| 2484 | +-----------+------------+ |
---|
| 2485 | |C0322 |8 | |
---|
| 2486 | +-----------+------------+ |
---|
| 2487 | |W0702 |7 | |
---|
| 2488 | +-----------+------------+ |
---|
| 2489 | |R0913 |4 | |
---|
| 2490 | +-----------+------------+ |
---|
| 2491 | |R0201 |4 | |
---|
| 2492 | +-----------+------------+ |
---|
| 2493 | |W0102 |2 | |
---|
| 2494 | +-----------+------------+ |
---|
| 2495 | |R0914 |2 | |
---|
| 2496 | +-----------+------------+ |
---|
| 2497 | |W0511 |1 | |
---|
| 2498 | +-----------+------------+ |
---|
| 2499 | |W0404 |1 | |
---|
| 2500 | +-----------+------------+ |
---|
| 2501 | |W0401 |1 | |
---|
| 2502 | +-----------+------------+ |
---|
| 2503 | |W0105 |1 | |
---|
| 2504 | +-----------+------------+ |
---|
| 2505 | |R0915 |1 | |
---|
| 2506 | +-----------+------------+ |
---|
| 2507 | |F0401 |1 | |
---|
| 2508 | +-----------+------------+ |
---|
| 2509 | |E1103 |1 | |
---|
| 2510 | +-----------+------------+ |
---|
| 2511 | |E0602 |1 | |
---|
| 2512 | +-----------+------------+ |
---|
| 2513 | |
---|
| 2514 | |
---|
| 2515 | |
---|
| 2516 | Global evaluation |
---|
| 2517 | ----------------- |
---|
| 2518 | Your code has been rated at 5.93/10 (previous run: 5.93/10) |
---|
| 2519 | |
---|
| 2520 | |
---|
| 2521 | C:\Documents and Settings\galina\workspace> |
---|