Changeset 5008


Ignore:
Timestamp:
Aug 5, 2021 7:43:13 AM (2 years ago)
Author:
vondreele
Message:

fix bug in G2plot for missing g(R) plot
fix SingleFloatDialog? "format" argument; should be 'fmt'

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIfiles.py

    r4872 r5008  
    10201020        G2Print (' G(R) saved to: '+grfilename)
    10211021       
    1022     if PDFsaves[5]: #RMCProfile files for F(Q) & g(r) overwrites any above
     1022    if len(PDFsaves) > 5 and PDFsaves[5]: #RMCProfile files for F(Q) & g(r) overwrites any above
    10231023       
    10241024        fqfilename = fileroot+'.fq'
  • trunk/GSASIIimage.py

    r4903 r5008  
    699699        dxyz0[:,:,2] += dzp
    700700#non zero detector 2-theta:
    701     if data['det2theta']:       
     701    if data.get('det2theta',0):       
    702702        tthMat = makeMat(data['det2theta'],1)
    703703        dxyz = np.inner(dxyz0,tthMat.T)
  • trunk/GSASIIimgGUI.py

    r4889 r5008  
    147147''' Do not use if pattern has uneven absorption
    148148 Set 2-theta max in image controls to be fully inside image
    149  Enter 2-theta position for arc mask (32-%.1f) '''%IOtth[1],IOtth[1],IOtth,format='%.2f')
     149 Enter 2-theta position for arc mask (32-%.1f) '''%IOtth[1],IOtth[1],IOtth,fmt='%.2f')
    150150        if dlg.ShowModal() == wx.ID_OK:
    151151            arcTth = dlg.GetValue()
  • trunk/GSASIIplot.py

    r4997 r5008  
    50405040            Id = G2gd.GetGPXtreeItemId(G2frame,Pid,'PDF Controls')
    50415041            Pattern = G2frame.GPXtree.GetItemPyData(Id)
    5042             if Pattern:
     5042            if Pattern and plotType in Pattern:
    50435043                PlotList.append(Pattern[plotType])
    50445044        name = plotType
Note: See TracChangeset for help on using the changeset viewer.