Changeset 2275 for trunk/GSASII.py
- Timestamp:
- May 16, 2016 10:18:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r2272 r2275 3662 3662 tabId = self.dataDisplay.GetSelection() 3663 3663 try: 3664 OK,Msg = G2stMn.Refine(self.GSASprojectfile,dlg) 3664 OK,Msg = G2stMn.Refine(self.GSASprojectfile,dlg) #Msg is Rvals dict if Ok=True 3665 3665 finally: 3666 3666 dlg.Update(101.) # forces the Auto_Hide; needed after move w/Win & wx3.0 … … 3668 3668 wx.Yield() 3669 3669 if OK: 3670 Rw = Msg 3671 dlg2 = wx.MessageDialog(self,'Load new result?','Refinement results, Rw =%.3f'%(Rw),wx.OK|wx.CANCEL) 3670 Rw = Msg['Rwp'] 3671 lamMax = Msg.get('lamMax',0.001) 3672 text = 'Load new result?' 3673 if lamMax >= 10.: 3674 text += '\nWARNING: Steepest descents dominates;'+ \ 3675 ' minimum may not have been reached\nor result may be false minimum.'+ \ 3676 ' You should reconsider your parameter suite' 3677 dlg2 = wx.MessageDialog(self,text,'Refinement results, Rw =%.3f'%(Rw),wx.OK|wx.CANCEL) 3672 3678 try: 3673 3679 if dlg2.ShowModal() == wx.ID_OK: … … 3721 3727 dlg.CenterOnParent() 3722 3728 try: 3723 OK,Msg = G2stMn.SeqRefine(self.GSASprojectfile,dlg) 3729 OK,Msg = G2stMn.SeqRefine(self.GSASprojectfile,dlg) #Msg is Rvals dict if Ok=True 3724 3730 finally: 3725 3731 dlg.Update(101.) # forces the Auto_Hide; needed after move w/Win & wx3.0
Note: See TracChangeset
for help on using the changeset viewer.