Changeset 1297 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 23, 2014 4:32:15 PM (8 years ago)
Author:
vondreele
Message:

setup sequential small angle refinements & display
includes copy & copy flags over Models
stop pattern plots in multiple integrations; now only when done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1296 r1297  
    31933193        finally:
    31943194            dlg.Destroy()
    3195         oldId =  self.PatternTree.GetSelection()
     3195        oldId =  self.PatternTree.GetSelection()        #retain current selection
    31963196        oldName = self.PatternTree.GetItemText(oldId)
    31973197        parentId = self.PatternTree.GetItemParent(oldId)
    31983198        parentName = ''
    31993199        if parentId:
    3200             parentName = self.PatternTree.GetItemText(parentId)
     3200            parentName = self.PatternTree.GetItemText(parentId)     #find the current data tree name
    32013201        dlg = wx.MessageDialog(self,'Load new result?','Refinement results, Rw =%.3f'%(Rw),wx.OK|wx.CANCEL)
    32023202        try:
     
    32713271                    self.G2plotNB.clear()
    32723272                G2IO.ProjFileOpen(self)
    3273                 # (BHT) what does this next section of code do?
    3274                 #item, cookie = self.PatternTree.GetFirstChild(self.root)
    3275                 #while item and not Id:
    3276                 #    name = self.PatternTree.GetItemText(item)
    3277                 #    if name[:4] in ['PWDR','HKLF']:
    3278                 #        Id = item
    3279                 #    item, cookie = self.PatternTree.GetNextChild(self.root, cookie)
    3280                 #if Id:
    3281                 #    self.PatternTree.SelectItem(Id)
    3282 
    3283                 # Open the sequential results tree entry
    32843273                Id = G2gd.GetPatternTreeItemId(self,self.root,'Sequential results')
    32853274                self.PatternTree.SelectItem(Id)
    3286                 G2gd.MovePatternTreeToGrid(self,Id)
    32873275
    32883276        finally:
Note: See TracChangeset for help on using the changeset viewer.