Ignore:
Timestamp:
Aug 19, 2020 2:53:47 PM (18 months ago)
Author:
vondreele
Message:

use AddToNotebook? in Refine - remove wx.CallAfter? for self.ReloadFrom? GPX so AddToNotebook? would work
Add csv Exporter for reflectometry data
replace all calls to G2py3.FormatValue? with explicit %.6g formats in G2export_csv - FormatValue? screwed up values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4548 r4549  
    50345034        if OK:
    50355035            Rw = Msg['Rwp']
     5036            rtext = 'LS Refinement: Rw = %.3f%%, GOF = %.2f, Nobs = %d, Max delt/sig = %.3f'%(Msg['Rwp'],Msg['GOF'],Msg['Nobs'],Msg['Max shft/sig'])
    50365037            lamMax = Msg.get('lamMax',0.001)
    50375038            lst = os.path.splitext(os.path.abspath(self.GSASprojectfile))[0]
     
    50455046                if dlg2.ShowModal() == wx.ID_OK:
    50465047                    if refPlotUpdate: refPlotUpdate({},restore=True)
    5047                     wx.CallAfter(self.reloadFromGPX)
     5048                    self.reloadFromGPX
    50485049                else:
    50495050                    if refPlotUpdate: refPlotUpdate({},restore=True)
     5051                self.AddToNotebook(rtext)
    50505052            finally:
    50515053                dlg2.Destroy()
Note: See TracChangeset for help on using the changeset viewer.