Changeset 235f514 in sasview for src/sas/sasgui/perspectives/calculator/calculator.py
- Timestamp:
- Apr 9, 2017 5:46:10 AM (7 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ac07a3a
- Parents:
- 5b2b04d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/calculator.py
r959eb01 r235f514 93 93 Edit meta data 94 94 """ 95 if self.data_edit_frame ==None:95 if self.data_edit_frame is None: 96 96 self.data_edit_frame = DataEditorWindow(parent=self.parent, 97 97 manager=self, data=[], … … 106 106 Data operation 107 107 """ 108 if self.data_operator_frame ==None:108 if self.data_operator_frame is None: 109 109 # Use one frame all the time 110 110 self.data_operator_frame = DataOperatorWindow(parent=self.parent, … … 121 121 Compute the Kiessig thickness 122 122 """ 123 if self.kiessig_frame ==None:123 if self.kiessig_frame is None: 124 124 frame = KiessigWindow(parent=self.parent, manager=self) 125 125 self.put_icon(frame) … … 133 133 Compute the scattering length density of molecula 134 134 """ 135 if self.sld_frame ==None:135 if self.sld_frame is None: 136 136 frame = SldWindow(parent=self.parent, 137 137 base=self.parent, manager=self) … … 146 146 Compute the mass density or molar voulme 147 147 """ 148 if self.cal_md_frame ==None:148 if self.cal_md_frame is None: 149 149 frame = DensityWindow(parent=self.parent, 150 150 base=self.parent, manager=self) … … 159 159 Compute the slit size a given data 160 160 """ 161 if self.cal_slit_frame ==None:161 if self.cal_slit_frame is None: 162 162 frame = SlitLengthCalculatorWindow(parent=self.parent, manager=self) 163 163 self.put_icon(frame) … … 171 171 Estimate the instrumental resolution 172 172 """ 173 if self.cal_res_frame ==None:173 if self.cal_res_frame is None: 174 174 frame = ResolutionWindow(parent=self.parent, manager=self) 175 175 self.put_icon(frame) … … 183 183 On Generic model menu event 184 184 """ 185 if self.gen_frame ==None:185 if self.gen_frame is None: 186 186 frame = SasGenWindow(parent=self.parent, manager=self) 187 187 self.put_icon(frame) … … 214 214 :param filename: file name to open in editor 215 215 """ 216 if self.py_frame ==None:216 if self.py_frame is None: 217 217 frame = PyConsole(parent=self.parent, base=self, 218 218 filename=filename)
Note: See TracChangeset
for help on using the changeset viewer.