Changeset 3619 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Sep 25, 2018 11:07:53 AM (5 years ago)
Author:
vondreele
Message:

clear magData when a selection is made
add row select --> mag space group display in magCells table
fix R -3 m spin selection problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3618 r3619  
    34103410            G2frame.GPXtree.SetItemPyData(UnitCellsId,data)
    34113411            wx.CallAfter(UpdateUnitCellsGrid,G2frame,data)
     3412        elif c < 0:
     3413            r = event.GetRow()
     3414            phase = magcells[r]
     3415            SGData = phase['SGData']
     3416            msg = 'Magnetic space group information for '+phase['Name']
     3417            text,table = G2spc.SGPrint(SGData,AddInv=True)
     3418            text[0] = ' Magnetic Space Group: '+SGData['MagSpGrp']
     3419            text[3] = ' The magnetic lattice point group is '+SGData['MagPtGp']
     3420            OprNames,SpnFlp = G2spc.GenMagOps(SGData)
     3421            G2G.SGMagSpinBox(G2frame.dataWindow,msg,text,table,SGData['SGCen'],OprNames,
     3422                SGData['SpnFlp'],False).Show()
    34123423       
    34133424    def MakeNewPhase(event):
     
    39033914            table.append(row)
    39043915        MagCellsTable = G2G.Table(table,rowLabels=rowLabels,colLabels=colLabels,types=Types)
    3905         G2frame.GetStatusBar().SetStatusText('Double click Keep to refresh Keep flags',1)
     3916        G2frame.GetStatusBar().SetStatusText('Double click Keep to refresh Keep flags, row no. to see sym. ops.',1)
    39063917        magDisplay = G2G.GSGrid(G2frame.dataWindow)
    39073918        magDisplay.SetTable(MagCellsTable, True)
Note: See TracChangeset for help on using the changeset viewer.