Changeset 4532 for trunk/GSASIIdataGUI.py
- Timestamp:
- Jul 22, 2020 8:50:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r4531 r4532 24 24 import sys 25 25 import os 26 #import glob27 #import imp28 26 import inspect 29 27 if '2' in platform.python_version_tuple()[0]: … … 624 622 self.Bind(wx.EVT_MENU, self.OnMakePDFs, id=item.GetId()) 625 623 626 item = parent.Append(wx.ID_ANY,'&View LS parms ','View least squares parameters')624 item = parent.Append(wx.ID_ANY,'&View LS parms\tCTRL+L','View least squares parameters') 627 625 self.Bind(wx.EVT_MENU, self.OnShowLSParms, id=item.GetId()) 628 626 … … 1335 1333 item = submenu.Append(wx.ID_ANY,'Auto Import','Import data files as found') 1336 1334 def OnAutoImport(event): 1337 #import imp1338 #imp.reload(G2G)1339 1335 G2G.AutoLoadFiles(self,FileTyp='pwd') 1340 1336 self.Bind(wx.EVT_MENU, OnAutoImport, id=item.GetId()) … … 2527 2523 item = submenu.Append(wx.ID_ANY,'Auto Import','Import PDF files as found') 2528 2524 def OnAutoImport(event): 2529 #import imp2530 #imp.reload(G2G)2531 2525 G2G.AutoLoadFiles(self,FileTyp='gr') 2532 2526 self.Bind(wx.EVT_MENU, OnAutoImport, id=item.GetId()) … … 4973 4967 pass 4974 4968 wx.EndBusyCursor() 4975 dlg = G2G.ShowLSParms(self,'Least Squares Parameters',parmValDict,varyList,reqVaryList) 4969 # debug stuff 4970 if GSASIIpath.GetConfigValue('debug'): 4971 print('reloading',G2G) 4972 import imp 4973 imp.reload(G2G) 4974 # end debug stuff 4975 dlg = G2G.ShowLSParms(self,'Least Squares Parameters',parmValDict, 4976 varyList,reqVaryList) 4976 4977 dlg.ShowModal() 4977 4978 dlg.Destroy() … … 6063 6064 6064 6065 #Phase / fullrmc & RMCprofile (Reverse Monte Carlo method) tab 6065 G2G.Define_wxId('wxID_SETUPRMC','wxID_RUNRMC','wxID_VIEWRMC' ) 6066 G2G.Define_wxId('wxID_SETUPRMC','wxID_RUNRMC','wxID_VIEWRMC', 6067 'wxID_STOPRMC') 6066 6068 self.FRMCMenu = wx.MenuBar() 6067 6069 self.PrefillDataMenu(self.FRMCMenu) … … 6071 6073 self.FRMCDataEdit.Append(G2G.wxID_SETUPRMC,'Setup RMC','Setup new fullrmc or RMCprofile file') 6072 6074 self.FRMCDataEdit.Append(G2G.wxID_RUNRMC,'Execute','Run fullrmc or RMCprofile file') 6073 self.FRMCDataEdit.Append(G2G.wxID_VIEWRMC,'View','View fullrmc or RMCprofile results') 6075 self.FRMCDataEdit.Append(G2G.wxID_STOPRMC,'Stop run','Stop fullrmc run') 6076 self.FRMCDataEdit.Append(G2G.wxID_VIEWRMC,'Plot','View fullrmc or RMCprofile results') 6074 6077 self.PostfillDataMenu() 6075 6078
Note: See TracChangeset
for help on using the changeset viewer.