Changeset 1959


Ignore:
Timestamp:
Aug 24, 2015 2:49:27 PM (6 years ago)
Author:
toby
Message:

fix crash with anaconda on Mac; allow for 2.7.xx version numbers

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1956 r1959  
    36653665        if '2.7' not in sys.version[:5]:
    36663666            dlg = wx.MessageDialog(None,
    3667                 'GSAS-II requires Python 2.7.x\n Yours is '+sys.version[:5],
     3667                'GSAS-II requires Python 2.7.x\n Yours is '+sys.version.split()[0],
    36683668                'Python version error',  wx.OK)
    36693669            try:
     
    37073707    # print versions
    37083708    print "Python module versions loaded:"
    3709     print "python:     ",sys.version[:5]
     3709    print "python:     ",sys.version.split()[0]
    37103710    print "wxpython:   ",wx.__version__
    37113711    print "matplotlib: ",mpl.__version__
  • trunk/GSASIIpwdGUI.py

    r1955 r1959  
    19971997        '''Called when the histogram type is changed to refresh the window
    19981998        '''
    1999         wx.CallAfter(UpdateSampleGrid,G2frame,data)
     1999        #wx.CallAfter(UpdateSampleGrid,G2frame,data)
     2000        wx.CallLater(100,UpdateSampleGrid,G2frame,data)
    20002001       
    20012002    def SetNameVal():
Note: See TracChangeset for help on using the changeset viewer.