Changeset 4272 for trunk/GSASIIphsGUI.py
- Timestamp:
- Jan 31, 2020 9:34:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4270 r4272 4517 4517 if dlg.ShowModal() == wx.ID_OK: 4518 4518 fpath,fName = os.path.split(dlg.GetPath()) 4519 disfile.copy_file(dlg.GetPath(),os.path.join(G2 G.GetImportPath(G2frame),fName))4519 disfile.copy_file(dlg.GetPath(),os.path.join(G2frame.LastGPXdir,fName)) 4520 4520 if os.path.exists(fName): 4521 4521 RMCPdict['files'][fil][0] = fName 4522 G2frame.LastImportDir = fpath #set so next file is found in same place 4522 4523 dlg.Destroy() 4523 4524 else: … … 5193 5194 pName = generalData['Name'].replace(' ','_') 5194 5195 dlg = wx.FileDialog(G2frame, "Choose any RMCProfile csv results file for "+pName+":", 5195 defaultDir=G2 G.GetImportPath(G2frame),style=wx.FD_CHANGE_DIR,wildcard='RMCProfile result csv files|'+pName+'*.csv')5196 defaultDir=G2frame.LastGPXdir,style=wx.FD_CHANGE_DIR,wildcard='RMCProfile result csv files|'+pName+'*.csv') 5196 5197 if dlg.ShowModal() == wx.ID_OK: 5197 5198 path = os.path.split(dlg.GetPath())[0]
Note: See TracChangeset
for help on using the changeset viewer.