Ignore:
Timestamp:
Oct 30, 2009 10:23:02 AM (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:
425ef040
Parents:
da58fcc
Message:

fixed chisqr updating

File:
1 edited

Legend:

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

    racd0bda3 r77f6a8b  
    980980                self.save_current_state() 
    981981                 
    982             self._is_modified(is_modified = is_modified)  
     982            self.is_modified = is_modified  
    983983                
    984     def _is_modified(self, is_modified = False): 
     984    def _is_modified(self): 
    985985        """ 
    986986            return to self._is_modified 
    987987        """ 
    988         self.is_modified = is_modified 
    989988        return self.is_modified 
    990989                        
     
    14621461            item=[cb state, name, value, "+/-", error of fit, min, max , units] 
    14631462        """   
    1464         is_modified =  modified 
     1463        self.is_modified =  modified 
    14651464        if len(list)==0: 
    1466             return is_modified 
     1465            return self.is_modified 
    14671466        for item in list: 
    14681467            try: 
     
    15061505                if value != self.model.getParam(name): 
    15071506                    self.model.setParam(name,value) 
    1508                     is_modified = True    
     1507                    self.is_modified = True    
    15091508             
    15101509            except: 
     
    15131512                return  
    15141513         
    1515         return is_modified  
     1514        return self.is_modified  
    15161515         
    15171516  
Note: See TracChangeset for help on using the changeset viewer.