Changeset 1355


Ignore:
Timestamp:
May 20, 2014 11:49:19 AM (9 years ago)
Author:
toby
Message:

initial 10.9/Canopy fixes

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1339 r1355  
    33263326        Should be ignored on other platforms
    33273327        '''
     3328        # PATCH: Canopy 1.4 script main seems dropped on app; ignore .py files
     3329        if os.path.splitext(filename)[1] == '.py': return
     3330        # end PATCH
    33283331        self.main.OnFileOpen(None,filename)
    33293332
  • trunk/GSASIIIO.py

    r1331 r1355  
    865865def ProjFileOpen(G2frame):
    866866    'Read a GSAS-II project file and load into the G2 data tree'
     867    if not os.path.exists(G2frame.GSASprojectfile):
     868        print ('\n*** Error attempt to open project file that does not exist:\n   '+
     869               str(G2frame.GSASprojectfile))
     870        return
    867871    file = open(G2frame.GSASprojectfile,'rb')
    868872    print 'load from file: ',G2frame.GSASprojectfile
  • trunk/GSASIIpath.py

    r1047 r1355  
    2828        bindir = 'binwin%d.%d' % sys.version_info[0:2]
    2929elif sys.platform == "darwin":
    30     bindir = 'binmac%d.%d' % sys.version_info[0:2]
    3130    import platform
     31    if platform.architecture()[0] == '64bit':
     32        bindir = 'binmac64-%d.%d' % sys.version_info[0:2]
     33    else:
     34        bindir = 'binmac%d.%d' % sys.version_info[0:2]
    3235    if platform.mac_ver()[0].startswith('10.5.'):
    3336        bindir += '_10.5'
Note: See TracChangeset for help on using the changeset viewer.