Changeset 66
- Timestamp:
- May 14, 2010 4:28:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r65 r66 11 11 import matplotlib as mpl 12 12 13 ## determine a binary path for the pyd files based on the host OS and the python version,14 ## path is relative to location of this file15 #if sys.platform == "win32":16 # bindir = 'binwin%d.%d' % sys.version_info[0:2]17 #elif sys.platform == "darwin":18 # bindir = 'binmac%d.%d' % sys.version_info[0:2]19 #else:20 # bindir = 'bin'21 #if ospath.exists(ospath.join(sys.path[0],bindir)) and ospath.join(sys.path[0],bindir) not in sys.path:22 # sys.path.insert(0,ospath.join(sys.path[0],bindir))23 24 #try:25 # import pypowder as pyp26 #except:27 # # create an app to display the error, since we are still loading routines at this point28 # app = wx.App()29 # app.MainLoop()30 # msg = wx.MessageDialog(None, message="Unable to load the GSAS powder computation module, pypowder",31 # caption="Import Error",style=wx.ICON_ERROR | wx.OK | wx.STAY_ON_TOP)32 # msg.ShowModal()33 # # this error is non-recoverable, so just quit34 # exit()35 36 13 # load the GSAS routines 37 14 import GSASIIpath
Note: See TracChangeset
for help on using the changeset viewer.