- Timestamp:
- Feb 27, 2009 3:21:56 PM (16 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:
- 8d36420
- Parents:
- e9e914f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/modelpage.py
re9e914f r7d680c7 1000 1000 name=str(item[0].GetLabelText()) 1001 1001 value= float(item[1].GetValue()) 1002 param_min= item[4].GetValue()1003 param_max= item[5].GetValue()1002 #param_min= item[4].GetValue() 1003 #param_max= item[5].GetValue() 1004 1004 #print " fittable model para", name,value 1005 1005 # If the value of the parameter has changed, … … 1009 1009 self.model.setParam(name,value) 1010 1010 is_modified = True 1011 if self.checkFitValues(item[4], item[5]): 1012 if param_min.lstrip().rstrip()== "-inf": 1011 """ 1012 #if self.checkFitValues(item[4], item[5]): 1013 # if param_min.lstrip().rstrip()== "-inf": 1013 1014 param_min=None 1014 1015 else: … … 1024 1025 self.model.details[name][2]= param_max 1025 1026 is_modified = True 1026 1027 """ 1027 1028 except: 1028 print item[4].GetValue(),item[5].GetValue()1029 #print item[4].GetValue(),item[5].GetValue() 1029 1030 raise 1030 1031 #wx.PostEvent(self.parent.parent, StatusEvent(status=\
Note: See TracChangeset
for help on using the changeset viewer.