Changeset fc9d9a3 in sasview


Ignore:
Timestamp:
Oct 16, 2018 11:02:57 AM (5 weeks ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_project_save
Children:
21fa45b
Parents:
1efa4c3
Message:

NAN values on strucutre factor

Just another fix to make it still loops over param values when copying even after a new subheading.

File:
1 edited

Legend:

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

    r1efa4c3 rfc9d9a3  
    34743474 
    34753475        param_list.append(['model_name', str(self.cbModel.currentText())]) 
     3476 
    34763477        def gatherParams(row): 
    34773478            """ 
     
    34963497 
    34973498            if param_name == str(self.cbModel.currentText()): 
    3498                 return 
    3499             elif str(self.cbStructureFactor.currentText()): 
    3500                 return 
    3501  
    3502             param_list.append([param_name, param_checked, param_value, param_error, param_min, param_max]) 
     3499                pass 
     3500            elif param_name == str(self.cbStructureFactor.currentText()): 
     3501                pass 
     3502            else: 
     3503                param_list.append([param_name, param_checked, param_value, param_error, param_min, param_max]) 
    35033504 
    35043505        def gatherPolyParams(row): 
     
    35743575 
    35753576        model = lines[1].split(',') 
     3577        print(model) 
    35763578 
    35773579        if model[0] != 'model_name': 
     
    35793581 
    35803582        context['model_name'] = [model[1]] 
     3583 
    35813584        for line in lines[2:-1]: 
    35823585            if len(line) != 0: 
     
    36633666 
    36643667            self.setFocus() 
    3665  
    3666  
    36673668 
    36683669        # block signals temporarily, so we don't end up 
Note: See TracChangeset for help on using the changeset viewer.