Changeset 6066a3f in sasview


Ignore:
Timestamp:
May 18, 2017 5:54:29 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
fd1ae6d1
Parents:
dc5ef15
Message:

Code review comments for SASVIEW-586

Location:
src/sas/qtgui/Perspectives/Fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FitPage.py

    r1bc27f1 r6066a3f  
    66    Container for all data related to the current fit page 
    77    """ 
    8     MIN_RANGE=0 
    9     MAX_RANGE=1 
    10     NPTS=2 
    11     NPTS_FIT=3 
    12     LOG_POINTS=4 
    13     WEIGHTING=5 
    14     SMEARING_OPTION=6 
    15     SMEARING_ACCURACY=7 
    16     SMEARING_MIN=8 
    17     SMEARING_MAX=9 
    18     def __init__(self, parent=None): 
     8    MIN_RANGE = 0 
     9    MAX_RANGE = 1 
     10    NPTS = 2 
     11    NPTS_FIT = 3 
     12    LOG_POINTS = 4 
     13    WEIGHTING = 5 
     14    SMEARING_OPTION = 6 
     15    SMEARING_ACCURACY = 7 
     16    SMEARING_MIN = 8 
     17    SMEARING_MAX = 9 
     18    def __init__(self): 
    1919        """ 
    2020        Define the dictionary 
     
    3030        self.data = None 
    3131        self.parameters_to_fit = [] 
    32          
     32 
    3333        # QModels 
    3434        self.param_model = None 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    rdc5ef15 r6066a3f  
    422422            model = None 
    423423        self.SASModelToQModel(model, structure_factor=structure) 
     424        # Update state stack 
     425        self.updateUndo() 
    424426 
    425427    def onSelectCategory(self): 
     
    13251327        """ 
    13261328        self.page_stack.append(new_page) 
    1327         pass 
    13281329 
    13291330    def popFitPage(self): 
     
    13331334        if self.page_stack: 
    13341335            self.page_stack.pop() 
    1335         pass 
    1336  
     1336 
Note: See TracChangeset for help on using the changeset viewer.