Changeset c4170068 in sasview for src


Ignore:
Timestamp:
Aug 25, 2017 7:38:23 AM (7 years ago)
Author:
lewis
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
25bc5c8
Parents:
0b6f83c
Message:

Ensure polysidpersity params are shown in batch fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitting.py

    r489f53a rc4170068  
    13401340                param_list = model.getParamList() 
    13411341                for param in model.getDispParamList(): 
    1342                     if not model.is_fittable(param) and \ 
     1342                    if '.' in param and param in param_list: 
     1343                        p1, p2 = param.split('.') 
     1344                        if not model.is_fittable(p1) and not (p2 == 'width' and param in res.param_list)\ 
     1345                            and param in param_list: 
     1346                            param_list.remove(param) 
     1347                    elif not model.is_fittable(param) and \ 
    13431348                        param in param_list: 
    13441349                        param_list.remove(param) 
Note: See TracChangeset for help on using the changeset viewer.