Changeset 5028
- Timestamp:
- Sep 17, 2021 1:57:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r5026 r5028 5243 5243 dlg2 = wx.MessageDialog(self,text,'Refinement results, Rw =%.3f'%(Rw),wx.OK|wx.CANCEL) 5244 5244 dlg2.CenterOnParent() 5245 #dlg2.Raise() # crashes sometimes on Mac5246 5245 try: 5247 5246 if dlg2.ShowModal() == wx.ID_OK: 5248 5247 if refPlotUpdate: refPlotUpdate({},restore=True) 5249 wx.CallAfter(self.reloadFromGPX,rtext)5248 self.reloadFromGPX(rtext) 5250 5249 else: 5251 5250 if refPlotUpdate: refPlotUpdate({},restore=True) … … 5306 5305 text = '' 5307 5306 rtext = 'Le Bail-only fit done. ' 5308 Rwp = Rvals.get('Rwp' ,'?')5307 Rwp = Rvals.get('Rwp') 5309 5308 if 'GOF' in Rvals: 5310 txt = 'Final Reduced Chi^2: {:.3f} (before ref: {})\n'.format(5309 txt = 'Final Reduced Chi^2: {:.3f}\n'.format( 5311 5310 Rvals['GOF']**2,rChi2initial) 5312 5311 text += txt 5313 5312 rtext += txt 5314 text += '\nLoad new result ?'5313 text += '\nLoad new result & continue refinement?' 5315 5314 dlg2 = wx.MessageDialog(self,text,'Le Bail fit: Rwp={:.3f}'.format(Rwp),wx.OK|wx.CANCEL) 5316 5315 dlg2.CenterOnParent()
Note: See TracChangeset
for help on using the changeset viewer.