Changeset 2134


Ignore:
Timestamp:
Jan 22, 2016 1:21:56 PM (6 years ago)
Author:
toby
Message:

better display of G2 version number

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2132 r2134  
    37953795    print "Platform info:",sys.platform,platform.architecture()[0],platform.machine()
    37963796    #print "wxPython description",wx.PlatformInfo
    3797     print "This is GSAS-II version:     ",__version__,' revision '+str(GSASIIpath.GetVersionNumber())
     3797    print "This is GSAS-II version:     ",__version__,' revision #'+str(GSASIIpath.GetVersionNumber())
    37983798    GSASIIpath.InvokeDebugOpts()
    37993799    main() # start the GUI
  • trunk/GSASIIpath.py

    r1971 r2134  
    136136    '''Return the maximum version number seen in :func:`SetVersionNumber`
    137137    '''
    138     return version
     138    if version > 1000:
     139        return version
     140    else:
     141        return "unknown"
    139142
    140143def LoadConfigFile(filename):
Note: See TracChangeset for help on using the changeset viewer.