Changeset 345 for trunk/GSASII.py


Ignore:
Timestamp:
Aug 18, 2011 8:54:16 PM (11 years ago)
Author:
vondreele
Message:

put new banner in GSASII.BAT
fix for vertical tilt & offset images
speedup of peak calcs
allow change from lam to lam1 & lam2
Pawley refinement fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r342 r345  
    13511351        try:
    13521352            if dlg.ShowModal() == wx.ID_OK:
     1353                Id = 0
    13531354                self.PatternTree.DeleteChildren(self.root)
    13541355                if self.HKL: self.HKL = []
     
    13561357                    self.G2plotNB.clear()
    13571358                G2IO.ProjFileOpen(self)
     1359                item, cookie = self.PatternTree.GetFirstChild(self.root)
     1360                while item and not Id:
     1361                    name = self.PatternTree.GetItemText(item)
     1362                    if name[:4] in ['PWDR','HKLF']:
     1363                        Id = item
     1364                    item, cookie = self.PatternTree.GetNextChild(self.root, cookie)               
     1365                if Id:
     1366                    self.PatternTree.SelectItem(Id)
    13581367        finally:
    13591368            dlg.Destroy()
Note: See TracChangeset for help on using the changeset viewer.