Changeset 4272


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

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4270 r4272  
    52585258     '''Solving the structures of 3-aminoquinoline and α-d-lactose monohydrate from powder diffraction data
    52595259     via Monte Carlo/Simulated Annealing (MC/SA).'''],
     5260     
     5261    ['Reverse Monte Carlo Modeling'],
     5262    ['RMCProfile-I', 'RMCProfile-I.htm','Disorder modeling for sulfur hexafluoride',
     5263     '''This is the first exercise of a big box modelling for real and reciprocal space diffraction data'''],
    52605264
    52615265    ['Stacking Fault Modeling'],
  • 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.