Changeset 1106 for trunk/GSASII.py


Ignore:
Timestamp:
Oct 15, 2013 12:25:24 PM (9 years ago)
Author:
vondreele
Message:

modify reflection array to be a dictionary with 4 items: RefList?, Uniq, Phi & FF. Each is list. Use patches to convert old format to new in various places.
Fix bug in simulate PWDR code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1105 r1106  
    557557            Id = self.PatternTree.AppendItem(parent=self.root,
    558558                                             text='HKLF '+HistName)
    559             self.PatternTree.SetItemPyData(Id,[{'wtFactor':1.0,'Dummy':False},rd.RefList])
     559            self.PatternTree.SetItemPyData(Id,[{'wtFactor':1.0,'Dummy':False},rd.RefDict])
    560560            Sub = self.PatternTree.AppendItem(Id,text='Instrument Parameters')
    561561            self.PatternTree.SetItemPyData(Sub,rd.Parameters)
     
    21832183                    for item in self.Refine: item.Enable(True)
    21842184                    for item in self.SeqRefine: item.Enable(True)
    2185             item, cookie = self.PatternTree.GetNextChild(self.root, cookie)               
     2185            item, cookie = self.PatternTree.GetNextChild(self.root, cookie)
    21862186        if Id:
    21872187            self.PatternTree.SelectItem(Id)
Note: See TracChangeset for help on using the changeset viewer.