Changeset 1551 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Oct 31, 2014 7:08:24 AM (8 years ago)
Author:
vondreele
Message:

fixes to calibration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1549 r1551  
    23242324        spc = controls[13]
    23252325        SGData = G2spc.SpcGroup(spc)[1]
    2326         if ssopt['Use']:
     2326        if ssopt.get('Use',False):
    23272327            print ssopt
    23282328            SSGData = G2spc.SSpcGroup(SGData,ssopt['ssSymb'])
     
    26222622    littleSizer.Add(zeroVar,0,WACV)
    26232623    SSopt = wx.CheckBox(G2frame.dataDisplay,label="Super lattice?")
    2624     SSopt.SetValue(ssopt['Use'])
     2624    SSopt.SetValue(ssopt.get('Use',False))
    26252625    SSopt.Bind(wx.EVT_CHECKBOX,OnSSopt)
    26262626    littleSizer.Add(SSopt,0,WACV)
     
    26602660            littleSizer.Add(volVal,0,WACV)
    26612661    mainSizer.Add(littleSizer,0)
    2662     if ssopt['Use']:        #super lattice display
     2662    if ssopt.get('Use',False):        #super lattice display
    26632663        indChoice = ['1','2','3','4',]
    26642664        SpSg = controls[13]
Note: See TracChangeset for help on using the changeset viewer.