Changeset 1552


Ignore:
Timestamp:
Oct 31, 2014 12:02:30 PM (7 years ago)
Author:
vondreele
Message:

missing ssopt in Unit Cells data stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1551 r1552  
    23422342           
    23432343    def OnSortCells(event):
    2344         controls,bravais,cells,dmin = G2frame.PatternTree.GetItemPyData(UnitCellsId)
     2344        controls,bravais,cells,dmin,ssopt = G2frame.PatternTree.GetItemPyData(UnitCellsId)
    23452345        c =  event.GetCol()
    23462346        if colLabels[c] == 'M20':
     
    23502350        else:
    23512351            return
    2352         data = [controls,bravais,cells,dmin]
     2352        data = [controls,bravais,cells,dmin,ssopt]
    23532353        G2frame.PatternTree.SetItemPyData(UnitCellsId,data)
    23542354        wx.CallAfter(UpdateUnitCellsGrid,G2frame,data)
    23552355       
    23562356    def CopyUnitCell(event):
    2357         controls,bravais,cells,dmin = G2frame.PatternTree.GetItemPyData(UnitCellsId)
     2357        controls,bravais,cells,dmin,ssopt = G2frame.PatternTree.GetItemPyData(UnitCellsId)
    23582358        for Cell in cells:
    23592359            if Cell[-2]:
     
    23652365        controls[12] = G2lat.calc_V(G2lat.cell2A(controls[6:12]))
    23662366        controls[13] = spaceGroups[bravaisSymb.index(controls[5])]
    2367         G2frame.PatternTree.SetItemPyData(UnitCellsId,[controls,bravais,cells,dmin])
     2367        G2frame.PatternTree.SetItemPyData(UnitCellsId,[controls,bravais,cells,dmin,ssopt])
    23682368        G2frame.dataFrame.RefineCell.Enable(True)
    23692369        wx.CallAfter(UpdateUnitCellsGrid,G2frame,data)       
     
    24072407        controls[6:12] = G2lat.A2cell(Aref)
    24082408        controls[12] = G2lat.calc_V(Aref)
    2409         data = [controls,bravais,cells,dmin]
     2409        data = [controls,bravais,cells,dmin,ssopt]
    24102410        cells = G2frame.PatternTree.GetItemPyData(UnitCellsId)[2]
    24112411        for cell in cells:
Note: See TracChangeset for help on using the changeset viewer.