Changeset 2532 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Nov 17, 2016 2:43:50 PM (5 years ago)
Author:
vondreele
Message:

clean up display of version info. etc. on console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2530 r2532  
    781781                    if 'dict' in str(type(datum[1]['PythonVersions'])):  #patch
    782782                        for p in sorted(datum[1]['PythonVersions'],key=lambda s: s.lower()):
    783                             print("  {:>14s}: {:s}".format(p[0],p[1]))
     783                            print("  {:<14s}: {:s}".format(p[0],p[1]))
    784784                    else:
    785785                        for p in datum[1]['PythonVersions']:
    786                             print("  {:>12s} {:s}".format(p[0]+':',p[1]))
     786                            print("  {:<12s} {:s}".format(p[0]+':',p[1]))
    787787            for datus in data[1:]:
    788788                sub = G2frame.PatternTree.AppendItem(Id,datus[0])
     
    803803        file.close()
    804804        if LastSavedUsing:
    805             print('GPX load successful. Last saved with GSAS-II version '+LastSavedUsing)
     805            print('GPX load successful. Last saved with GSAS-II revision '+LastSavedUsing)
    806806        else:
    807807            print('project load successful')
Note: See TracChangeset for help on using the changeset viewer.