Changeset fe9cb70e in sasview
- Timestamp:
- Jun 4, 2012 3:27:30 PM (13 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:
- 0371eae
- Parents:
- ed09638
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/simfitpage.py
r7c720e9 rfe9cb70e 658 658 ctl2 = item[3] 659 659 if ctl2.GetValue().lstrip().rstrip() == "": 660 model = param_cbox.GetClientData(param_cbox.GetCurrentSelection()) 661 msg = " Enter a constraint for %s.%s! "%(model.name, 660 model = param_cbox.GetClientData(\ 661 param_cbox.GetCurrentSelection()) 662 if model != None: 663 msg = " Enter a constraint for %s.%s! "%(model.name, 662 664 param_cbox.GetString(0)) 665 else: 666 msg = " Enter a constraint" 663 667 wx.PostEvent(self.parent.parent, StatusEvent(status=msg)) 664 668 return … … 707 711 if self.batch_on: 708 712 if self.sizer2.IsShown(): 709 self.sizer2. Hide()713 self.sizer2.Show(False) 710 714 return 711 715 box_description= wx.StaticBox(self, -1, "Fit Constraints") -
sansguiframe/src/sans/guiframe/data_state.py
r8c347a6 rfe9cb70e 35 35 _str += "Data name : %s \n" % str(self.data.name) 36 36 _str += "Data ID : %s \n" % str(self.data.id) 37 else:38 _str += "Theory Data: %s \n" % str(self.theory_data)39 if self.theory_data is not None:40 _str += "Data name : %s \n" % str(self.theory_data.name)41 _str += "Theory Data ID : %s \n" % str(self.theory_data.id)42 else:43 _str += "Theory Data: %s \n" % str(self.theory_data)44 45 37 _str += "Theories available: %s \n" % len(self.theory_list) 46 38 if self.theory_list: -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Arc.py
rbc2db41 rfe9cb70e 50 50 self.clear_markers() 51 51 try: 52 self.marker.remove() 52 for item in self.markers: 53 item.remove() 53 54 self.arc.remove() 54 55 except: … … 161 162 """ 162 163 x = params["radius"] 163 self.set_cursor(x, self._mouse_y) 164 phi_max = self.theta2 165 nbins = self.npts 166 self.set_cursor(x, self._mouse_y, phi_max, nbins) 164 167 165 168
Note: See TracChangeset
for help on using the changeset viewer.