Changeset 4780 for trunk/GSASIIdataGUI.py
- Timestamp:
- Jan 17, 2021 3:12:29 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r4764 r4780 5216 5216 else: 5217 5217 msg = '' 5218 # if len(Rvals['psing']) == 1:5219 # h = 'This variable appears'5220 # # that = 'that variable'5221 # else:5222 # h = 'These variables appear'5223 # # that = 'those variables'5224 # msg += h + ' to cause a singular matrix:\n\t'5225 # for i,var in enumerate(Rvals['psing']):5226 # if i: msg += ', '5227 # msg += varyList[var]5228 # # msg += '\n\nRefine again with '+that+' frozen?'5229 5218 result = wx.ID_NO 5230 5219 try: 5231 # dlg = wx.MessageDialog(self, msg,'Refine again?',5232 # wx.YES_NO | wx.ICON_QUESTION)5233 5220 dlg = wx.MessageDialog(self, msg,'Note singularities', 5234 5221 wx.OK) … … 5238 5225 finally: 5239 5226 dlg.Destroy() 5240 # if result != wx.ID_YES: return5241 # Controls = self.GPXtree.GetItemPyData(GetGPXtreeItemId(self,self.root, 'Controls'))5242 # if 'parmFrozen' not in Controls:5243 # Controls['parmFrozen'] = {}5244 # if 'FrozenList' not in Controls['parmFrozen']:5245 # Controls['parmFrozen']['FrozenList'] = []5246 # Controls['parmFrozen']['FrozenList'] += [5247 # G2obj.G2VarObj(varyList[i]) for i in Rvals['plist']]5248 # wx.CallAfter(self.OnRefine,event)5249 5227 else: 5250 5228 self.ErrorDialog('Refinement error',Rvals['msg'])
Note: See TracChangeset
for help on using the changeset viewer.