Changeset 87a43fe in sasview


Ignore:
Timestamp:
Apr 2, 2009 2:48:23 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
fe886ee
Parents:
dcf29d7
Message:

fittting range for parameters fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/basepage.py

    rdcf29d7 r87a43fe  
    850850                from sans.guiframe.utils import check_value 
    851851                if param_min != None and param_max !=None: 
    852                     if check_value(item[5], item[6]): 
    853                         self.model.details[name][1:]=param_min,param_max 
    854                     else: 
     852                    if not check_value(item[5], item[6]): 
    855853                        msg= "Wrong Fit range entered for parameter " 
    856854                        msg+= "name %s of model %s "%(name, self.model.name) 
    857855                        wx.PostEvent(self.parent.parent, StatusEvent(status = msg )) 
    858                         self.model.details[name][1:]=param_min,param_max 
     856                     
     857                self.model.details[name][1:]= param_min,param_max 
     858                 
    859859                ## hide statictext +/-     
    860860                if item[3]!=None: 
Note: See TracChangeset for help on using the changeset viewer.