Changeset 772
- Timestamp:
- Oct 2, 2012 10:41:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpath.py
r762 r772 30 30 # is there a bin directory? (created by a local compile), if so put 31 31 # that at the top of the path 32 if os.path.exists(os.path.join(loc,'bin')) :32 if os.path.exists(os.path.join(loc,'bin')) and os.path.getsize(os.path.join(loc,'bin')): 33 33 bindir = 'bin' 34 34 if os.path.join(loc,'bin') not in sys.path: 35 35 sys.path.insert(0,os.path.join(loc,bindir)) 36 print 'GSAS-II binary directory: ',os.path.join(loc,bindir) 36 37 if bindir == None: 37 print "Warning GSAS-II binary libraries not found, some sections of code will not function"38 raise Exception,"**** ERROR GSAS-II binary libraries not found, GSAS-II fails ****" 38 39 39 40 # routines for looking a version numbers in files
Note: See TracChangeset
for help on using the changeset viewer.