Changeset 4177


Ignore:
Timestamp:
Oct 14, 2019 4:55:00 PM (2 years ago)
Author:
toby
Message:

fix index when a phase has a non-standard spg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4171 r4177  
    43204320    littleSizer.Add(wx.StaticText(G2frame.dataWindow,label=" Space  \n group  ",style=wx.ALIGN_CENTER),0,WACV,5)
    43214321    spcSel = wx.Choice(G2frame.dataWindow,choices=SPGlist[controls[5]],size=(100,-1))
    4322     spcSel.SetSelection(SPGlist[controls[5]].index(controls[13]))
     4322    try:
     4323        spcSel.SetSelection(SPGlist[controls[5]].index(controls[13]))
     4324    except ValueError:
     4325        pass
    43234326    spcSel.Bind(wx.EVT_CHOICE,OnSpcSel)
    43244327    littleSizer.Add(spcSel,0,WACV)
Note: See TracChangeset for help on using the changeset viewer.