Ignore:
File:
1 edited

Legend:

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

    ra5cffe5 raba4559  
    776776        :param weight: current dy data 
    777777        """ 
    778         # Note: this is used to set the data weights for the fit based on 
    779         # the weight selection in the GUI. 
     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 
    780782        if uid in self.page_finder.keys(): 
    781783            self.page_finder[uid].set_weight(flag=flag, is2d=is2d) 
Note: See TracChangeset for help on using the changeset viewer.