Changeset e0e22f2c in sasview


Ignore:
Timestamp:
May 22, 2011 11:30:30 AM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
026041c
Parents:
247873a
Message:

got param_range error correctly

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • park_integration/AbstractFitEngine.py

    racfff8b re0e22f2c  
    6161            #if lo is None: lo = -numpy.inf 
    6262            #if hi is None: hi = numpy.inf 
    63         if lo >= hi: 
     63        if lo > hi: 
    6464            raise ValueError,"wrong fit range for parameters" 
    6565         
  • park_integration/ScipyFitting.py

    racfff8b re0e22f2c  
    159159                raise  
    160160            """ 
     161        except: 
     162            raise 
     163         
    161164        chisqr = functor.chisq() 
    162165        if cov_x is not None and numpy.isfinite(cov_x).all(): 
  • sansview/perspectives/fitting/basepage.py

    r8960479 re0e22f2c  
    19411941            qmin = float(qmin_ctrl.GetValue()) 
    19421942            qmax = float(qmax_ctrl.GetValue()) 
    1943             if qmin <= qmax: 
     1943            if qmin < qmax: 
    19441944                #Make sure to set both colours white.   
    19451945                qmin_ctrl.SetBackgroundColour(wx.WHITE) 
Note: See TracChangeset for help on using the changeset viewer.