Changeset 458 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jan 27, 2012 4:43:30 PM (10 years ago)
Author:
vondreele
Message:

finish dist angle calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r457 r458  
    192192            pass
    193193        Obj.SetValue("%.3f"%(self.data[item[0]][item[1]]))          #reset in case of error
     194       
     195    def getData(self):
     196        return self.Data
    194197       
    195198    def OnOk(self,event):
     
    10591062            cn = colLabels.index('Name')
    10601063            for i,atom in enumerate(atomData):
    1061                 xyz.append(atom[cn:cn+2]+atom[cx:cx+3])
     1064                xyz.append([i,]+atom[cn:cn+2]+atom[cx:cx+3])
    10621065                if i in indx:
    1063                     Oxyz.append(atom[cn:cn+2]+atom[cx:cx+3])
     1066                    Oxyz.append([i,]+atom[cn:cn+2]+atom[cx:cx+3])
    10641067            DisAglData['OrigAtoms'] = Oxyz
    10651068            DisAglData['TargAtoms'] = xyz
Note: See TracChangeset for help on using the changeset viewer.