Changeset 1529 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Oct 17, 2014 2:46:23 PM (7 years ago)
Author:
vondreele
Message:

revise display of space group info so that operators are in lined up columns
in bot the LS output & the popup window. - new class SGMessageBox (from wx.Dialog!)
G2spc.SGPrint now returns 2 items: Text & Tables
Work on supersymmetry - now better display of operators
operators more complete
use ErrorDialog? for more error messages instead of putting the message on the console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r1523 r1529  
    959959        PawleyRef = PhaseData[name].get('Pawley ref',[])
    960960        SGData = General['SGData']
    961         SGtext = G2spc.SGPrint(SGData)
     961        SGtext,SGtable = G2spc.SGPrint(SGData)
    962962        cell = General['Cell']
    963963        A = G2lat.cell2A(cell[1:7])
     
    10671067                print >>pFile,''
    10681068                for line in SGtext: print >>pFile,line
     1069                if len(SGtable):
     1070                    for i,item in enumerate(SGtable[::2]):
     1071                        line = ' %s %s'%(item.ljust(30),SGtable[2*i+1].ljust(30))
     1072                        print >>pFile,line   
     1073                else:
     1074                    print >>pFile,' ( 1)    %s'%(SGtable[0])
    10691075                PrintRBObjects(resRBData,vecRBData)
    10701076                PrintAtoms(General,Atoms)
Note: See TracChangeset for help on using the changeset viewer.