Changeset a5cffe5 in sasview


Ignore:
Timestamp:
Nov 13, 2018 3:58:59 PM (4 weeks ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, py37-sasgui, setup_clean_up, ticket-1205-fit-weights, ticket-1218
Children:
1752f38
Parents:
f560e23
git-author:
Paul Kienzle <pkienzle@…> (11/13/18 15:57:36)
git-committer:
Paul Kienzle <pkienzle@…> (11/13/18 15:58:59)
Message:

re-enable fitting using weights defined in the GUI. Refs #1205.

File:
1 edited

Legend:

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

    raba4559 ra5cffe5  
    776776        :param weight: current dy data 
    777777        """ 
    778         # If we are not dealing with a specific fit problem, then 
    779         # there is no point setting the weights. 
    780         if fid is None: 
    781             return 
     778        # Note: this is used to set the data weights for the fit based on 
     779        # the weight selection in the GUI. 
    782780        if uid in self.page_finder.keys(): 
    783781            self.page_finder[uid].set_weight(flag=flag, is2d=is2d) 
Note: See TracChangeset for help on using the changeset viewer.