Changeset 4272 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jan 31, 2020 9:34:59 AM (22 months ago)
Author:
vondreele
Message:

fix some directory references
add RMCProfile-I tutorial to tutorial menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4270 r4272  
    45174517                if dlg.ShowModal() == wx.ID_OK:
    45184518                    fpath,fName = os.path.split(dlg.GetPath())
    4519                     disfile.copy_file(dlg.GetPath(),os.path.join(G2G.GetImportPath(G2frame),fName))
     4519                    disfile.copy_file(dlg.GetPath(),os.path.join(G2frame.LastGPXdir,fName))
    45204520                    if os.path.exists(fName):
    45214521                        RMCPdict['files'][fil][0] = fName
     4522                    G2frame.LastImportDir = fpath    #set so next file is found in same place
    45224523                    dlg.Destroy()
    45234524                else:
     
    51935194            pName = generalData['Name'].replace(' ','_')
    51945195            dlg = wx.FileDialog(G2frame, "Choose any RMCProfile csv results file for "+pName+":",
    5195                 defaultDir=G2G.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')
    51965197            if dlg.ShowModal() == wx.ID_OK:
    51975198                path = os.path.split(dlg.GetPath())[0]
Note: See TracChangeset for help on using the changeset viewer.