Ignore:
Timestamp:
Sep 3, 2017 11:18:33 AM (6 years ago)
Author:
toby
Message:

Fully implement multiprocessing on reflection loops, but currently disabled, when enabled default is still not to use unless turned on in config; add timing code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3037 r3041  
    27652765        arg = sys.argv
    27662766        if len(arg) > 1 and arg[1]:
    2767             self.GSASprojectfile = os.path.splitext(arg[1])[0]+'.gpx'
     2767            try:
     2768                self.GSASprojectfile = os.path.splitext(arg[1])[0]+u'.gpx'
     2769            except:
     2770                self.GSASprojectfile = os.path.splitext(arg[1])[0]+'.gpx'
    27682771            self.dirname = os.path.abspath(os.path.dirname(arg[1]))
    27692772            if self.dirname: os.chdir(self.dirname)
     
    36073610            GetGPX()
    36083611        else:
    3609             self.GSASprojectfile = os.path.splitext(filename)[0]+'.gpx'
     3612            try:
     3613                self.GSASprojectfile = os.path.splitext(filename)[0]+u'.gpx'
     3614            except:
     3615                self.GSASprojectfile = os.path.splitext(filename)[0]+'.gpx'
    36103616            self.dirname = os.path.split(filename)[0]
    36113617
Note: See TracChangeset for help on using the changeset viewer.