Changeset 1256 for trunk/GSASII.py
- Timestamp:
- Mar 19, 2014 4:35:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r1243 r1256 59 59 print('*******************************************************') 60 60 sys.exit() 61 61 62 62 # load the GSAS routines 63 63 import GSASIIpath … … 3267 3267 def OnInit(self): 3268 3268 '''Called automatically when the app is created.''' 3269 if '2.7' not in sys.version[:5]: 3270 dlg = wx.MessageDialog(None, 3271 'GSAS-II requires Python 2.7.x\n Yours is '+sys.version[:5], 3272 'Python version error', wx.OK) 3273 try: 3274 result = dlg.ShowModal() 3275 finally: 3276 dlg.Destroy() 3277 sys.exit() 3269 3278 self.main = GSASII(None) 3270 3279 self.main.Show()
Note: See TracChangeset
for help on using the changeset viewer.