Changeset 318b5bbb in sasview for fittingview/src/sans/perspectives/fitting/pagestate.py
- Timestamp:
- Dec 18, 2012 10:55: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:
- 6550b64
- Parents:
- 0203ade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/pagestate.py
r2c44cf8 r318b5bbb 52 52 ["structurecombobox", "structurecombobox", "string"], 53 53 ["multi_factor","multi_factor","float"], 54 ["magnetic_on","magnetic_on", "bool"], 54 55 ["enable_smearer","enable_smearer","bool"], 55 56 ["disable_smearer","disable_smearer","bool"], … … 246 247 self.name = "" 247 248 self.multi_factor = None 249 self.magnetic_on = False 248 250 ## enable smearering state 249 251 self.enable_smearer = False … … 335 337 obj.qmax = copy.deepcopy(self.qmax) 336 338 obj.multi_factor = self.multi_factor 339 obj.magnetic_on = self.magnetic_on 337 340 obj.npts = copy.deepcopy(self.npts) 338 341 obj.cb1 = copy.deepcopy(self.cb1) … … 385 388 #rep += "model type (form factor) selected: %s\n" % self.shape_rbutton 386 389 rep += "multi_factor : %s\n" % str(self.multi_factor) 390 rep += "magnetic_on : %s\n"% str(self.magnetic_on) 387 391 rep += "model type (Category) selected: %s\n" % self.categorycombobox 388 392 #rep += "model type (shape independent) selected: %s\n" % self.shape_indep_rbutton … … 500 504 muti_factor = ("muti_factor = " + value) 501 505 muti_factor_string = CENTRE % muti_factor 506 if name == "magentic_on ": 507 magentic_on = ("magentic_on = " + value) 508 if string(value) == 'True': 509 magentic_on_string = CENTRE % magentic_on 502 510 if name == "Title": 503 511 if len(value.strip()) == 0:
Note: See TracChangeset
for help on using the changeset viewer.