Ignore:
Timestamp:
Nov 22, 2016 1:08:48 PM (9 years ago)
Author:
vondreele
Message:

cleanup of all GSASII main routines - remove unused variables, dead code, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIddataGUI.py

    r2495 r2546  
    2222import GSASIIlattice as G2lat
    2323import GSASIIspc as G2spc
    24 import GSASIIElem as G2elem
    25 import GSASIIElemGUI as G2elemGUI
    2624import GSASIIplot as G2plt
    2725import GSASIIgrid as G2gd
    28 import GSASIIIO as G2IO
    29 import GSASIImath as G2mth
    3026import GSASIIpwd as G2pwd
    3127import GSASIIphsGUI as G2phsGUI
     
    293289    def OnHstrainVal(event):
    294290        event.Skip()
    295         Snames = G2spc.HStrainNames(SGData)
    296291        Obj = event.GetEventObject()
    297292        hist,pid = Indx[Obj.GetId()]
     
    987982            h,k,l = hkl
    988983            Obj.SetValue('%3d %3d %3d'%(h,k,l))
    989                        
    990         try:
    991             histData = UseList[G2frame.hist]
    992         except KeyError:
     984
     985        if G2frame.hist not in UseList:               
    993986            G2frame.ErrorDialog('Missing data error',
    994987                    G2frame.hist+' not in GSAS-II data tree')
Note: See TracChangeset for help on using the changeset viewer.