Changeset 3512


Ignore:
Timestamp:
Jul 27, 2018 8:54:45 AM (3 years ago)
Author:
vondreele
Message:

yet another transform cell fix for magnetism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3511 r3512  
    33543354                    ssopt['SGData']['SpnFlp'] = SpnFlp
    33553355                    ssopt['SGData']['MagSpGrp'] = G2spc.MagSGSym(ssopt['SGData'])
     3356                    G2spc.ApplyBNSlatt(ssopt['SGData'],ssopt['SGData']['BNSlattsym'])
    33563357                else:
    33573358                    del SGData['MagSpGrp']
     
    34873488            SGData['SGGray'] = False
    34883489            neutSizer.Add(wx.StaticText(G2frame.dataWindow,label=' BNS lattice: '),0,WACV)
     3490            BNSkeys = [SGData['SGLatt'],]+list(BNSsym.keys())
     3491            BNSkeys.sort()
     3492            try:        #this is an ugly kluge - bug in wx.ComboBox
     3493                if SGData['BNSlattsym'][0][2] in ['a','b','c']:
     3494                    BNSkeys.reverse()
     3495            except:
     3496                pass
    34893497            BNS = wx.ComboBox(G2frame.dataWindow,value=SGData['BNSlattsym'][0],
    3490                 choices=[SGData['SGLatt'],]+list(BNSsym.keys()),style=wx.CB_READONLY|wx.CB_DROPDOWN)
     3498                choices=BNSkeys,style=wx.CB_READONLY|wx.CB_DROPDOWN)
    34913499            BNS.Bind(wx.EVT_COMBOBOX,OnBNSlatt)
    34923500            neutSizer.Add(BNS,0,WACV)
Note: See TracChangeset for help on using the changeset viewer.