Changeset 4e373ab in sasview


Ignore:
Timestamp:
Nov 16, 2018 5:46:47 PM (3 weeks ago)
Author:
GitHub <noreply@…>
Branches:
master, py37-sasgui, setup_clean_up, ticket-1218
Children:
61379c2e, 175b83f, 139c76a, 1752f38, 880abb6, a8f01ac
Parents:
f560e23 (diff), a5cffe5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Butler <butlerpd@…> (11/16/18 17:46:47)
git-committer:
GitHub <noreply@…> (11/16/18 17:46:47)
Message:

Merge pull request #199 from SasView?/ticket-1205-fit-weights

Ticket 1205: use data weights from the GUI in the fit. Closes #1205

quick testing looks fine so going to merge.

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.