Changeset 2657 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jan 22, 2017 5:00:14 PM (5 years ago)
Author:
toby
Message:

deal with dead grids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r2654 r2657  
    879879    G2frame.PeakTable = G2G.Table(data['peaks'],rowLabels=rowLabels,colLabels=colLabels,types=Types)
    880880    G2frame.dataFrame.SetLabel('Peak List')
     881    G2frame.dataFrame.currentGrids = []
    881882    G2frame.dataDisplay = G2G.GSGrid(parent=G2frame.dataFrame)
    882883    G2frame.dataDisplay.SetTable(G2frame.PeakTable, True)
     
    904905    if 'nPeaks' not in data[1]:
    905906        data[1].update({'nPeaks':0,'peaksList':[]})
     907    G2frame.dataFrame.currentGrids = []
    906908   
    907909    def OnBackFlagCopy(event):
     
    12391241        topSizer.Add((5,0),0)
    12401242        peaksSizer.Add(topSizer)
     1243        G2frame.dataFrame.currentGrids = []
    12411244        if data[1]['nPeaks']:
    12421245            peaksSizer.Add(wx.StaticText(G2frame.dataDisplay,-1,' Peak list:'),0,WACV)       
     
    26212624    G2frame.IndexPeaksTable = G2G.Table(data[0],rowLabels=rowLabels,colLabels=colLabels,types=Types)
    26222625    G2frame.dataFrame.SetLabel('Index Peak List')
     2626    G2frame.dataFrame.currentGrids = []
    26232627    G2frame.dataDisplay = G2G.GSGrid(parent=G2frame.dataFrame)               
    26242628    G2frame.dataDisplay.SetTable(G2frame.IndexPeaksTable, True)
     
    33003304        mainSizer.Add(ssSizer,0)
    33013305
     3306    G2frame.dataFrame.currentGrids = []
    33023307    if cells:
    33033308        mainSizer.Add(wx.StaticText(parent=G2frame.dataDisplay,label='\n Indexing Result:'),0,WACV)
     
    35873592    G2frame.dataDisplay = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize())
    35883593    G2frame.refTable = {}
     3594    G2frame.dataFrame.currentGrids = []
    35893595    for tabnum,phase in enumerate(phases):
    35903596        if len(data[phase]):
Note: See TracChangeset for help on using the changeset viewer.