Changeset b564ea2 in sasview for src/sas/sasgui/perspectives/corfunc/corfunc_state.py
- Timestamp:
- Jul 11, 2016 4:36:55 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3b8efec
- Parents:
- 9c90cf3
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/06/16 12:35:37)
- git-committer:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/11/16 04:36:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc_state.py
r9c90cf3 rb564ea2 19 19 'qmax1_tcl': None, 20 20 'qmax2_tcl': None, 21 'background_tcl': None 21 22 } 22 23 … … 42 43 self.qmin = None 43 44 self.qmax = [0, 0] 45 self.background = None 44 46 self.outputs = None 45 47 … … 65 67 state += "Qmin: {}\n".format(str(self.qmin)) 66 68 state += "Qmax: {}\n".format(str(self.qmax)) 69 state += "Background: {}\n".format(str(self.background)) 67 70 if self.outputs is None: 68 71 return state … … 89 92 elif name == 'qmax2_tcl': 90 93 self.qmax[1] = value 94 elif name == 'background_tcl': 95 self.background = value 91 96 92 97 def toXML(self, filename='corfunc_state.cor', doc=None, entry_node=None):
Note: See TracChangeset
for help on using the changeset viewer.