Changeset be0fe41 in sasview for calculatorview
- Timestamp:
- Jan 11, 2013 11:30:24 AM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 440006a
- Parents:
- 1b28ff5
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py
rdbc01f2 rbe0fe41 1152 1152 self.npixels_sizer = wx.BoxSizer(wx.HORIZONTAL) 1153 1153 self.box_sld = wx.StaticBox(self, -1, 1154 str(" Scattering Length (Density)"))1154 str("Mean SLD")) 1155 1155 self.box_node = wx.StaticBox(self, -1, str("Nodes")) 1156 1156 self.boxsizer_sld = wx.StaticBoxSizer(self.box_sld, wx.VERTICAL) -
calculatorview/src/sans/perspectives/calculator/model_editor.py
r318b5bbb rbe0fe41 1268 1268 1269 1269 ## setParam to p model 1270 model_pre = name.split('_', 1)[0] 1271 new_name = name.split('_', 1)[1] 1270 model_pre = '' 1271 new_name = '' 1272 name_split = name.split('_', 1) 1273 if len(name_split) == 2: 1274 model_pre = name.split('_', 1)[0] 1275 new_name = name.split('_', 1)[1] 1272 1276 if model_pre == "p1": 1273 1277 if new_name in self.p_model1.getParamList(): … … 1276 1280 if new_name in self.p_model2.getParamList(): 1277 1281 self.p_model2.setParam(new_name, value) 1278 elif name .lower()== 'scale_factor':1282 elif name == 'scale_factor': 1279 1283 self.params['scale_factor'] = value 1280 1284 else:
Note: See TracChangeset
for help on using the changeset viewer.