Ignore:
Timestamp:
Nov 5, 2009 6:23:11 PM (15 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:
7a77859
Parents:
58fe6c8
Message:

updated lo hi due to the changes in model.details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/AbstractFitEngine.py

    rac3041b r12b76cf  
    4040        """ 
    4141        #if not  self.name in self._model.getDispParamList(): 
    42         lo,hi = self._model.details[self.name][1:] 
     42        lo,hi = self._model.details[self.name][1:3] 
    4343        if lo is None: lo = -numpy.inf 
    4444        if hi is None: hi = numpy.inf 
     
    5757            @param r: the value of the range to set 
    5858        """ 
    59         self._model.details[self.name][1:] = r 
     59        self._model.details[self.name][1:3] = r 
    6060    range = property(_getrange,_setrange) 
    6161     
Note: See TracChangeset for help on using the changeset viewer.