Changeset 4890 for trunk


Ignore:
Timestamp:
Apr 23, 2021 11:19:22 AM (5 months ago)
Author:
vondreele
Message:

use os.path.dirname(filename) instead of G2G.GetImportPath? for iparm file directory dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4889 r4890  
    17801780        while True: # loop until we get a file that works or we get a cancel
    17811781            instfile = ''
    1782             pth = G2G.GetImportPath(self)
     1782            pth = os.path.dirname(filename)     #look in same place data was found
     1783#            pth = G2G.GetImportPath(self)
    17831784            if not pth: pth = '.'
    17841785            extOrd = [0,1]
Note: See TracChangeset for help on using the changeset viewer.