Ignore:
Timestamp:
Jun 30, 2019 9:53:33 PM (4 years ago)
Author:
toby
Message:

remove histograms that are not added to a phse from the Seq Ref refinement; skip histograms w/o Use flag in mass fraction computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r3982 r4046  
    126126        if 'PWDR' in G2frame.hist and generalData['Type'] != 'magnetic':
    127127            wtSum = G2pwd.PhaseWtSum(G2frame,G2frame.hist)
    128             if wtSum:
     128            if wtSum and UseList[G2frame.hist]['Use']:
    129129                weightFr = UseList[G2frame.hist]['Scale'][0]*generalData['Mass']/wtSum
    130130                scaleSizer.Add(wx.StaticText(DData,label=' Wt. fraction: %.3f'%(weightFr)),0,WACV)
     
    832832            Obj = event.GetEventObject()
    833833            UseList[G2frame.hist]['Use'] = Obj.GetValue()
     834            wx.CallLater(100,RepaintHistogramInfo,DData.GetScrollPos(wx.VERTICAL))
    834835
    835836        def OnLeBail(event):
Note: See TracChangeset for help on using the changeset viewer.