Changeset 3746 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Dec 1, 2018 1:25:05 PM (3 years ago)
Author:
vondreele
Message:

change LeBail? GUI to reflect state of the newLeBail flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3745 r3746  
    397397    '''
    398398    histList = []
    399     inst,inst2 = G2frame.GPXtree.GetItemPyData(
    400         G2gd.GetGPXtreeItemId(
    401             G2frame,G2frame.PatternId, 'Instrument Parameters')
    402         )
     399    inst,inst2 = G2frame.GPXtree.GetItemPyData(G2gd.GetGPXtreeItemId(G2frame,G2frame.PatternId, 'Instrument Parameters'))
    403400    hType = inst['Type'][0]
    404401    if 'Lam1' in inst:
     
    408405    else:
    409406        hLam = 0
    410     sample = G2frame.GPXtree.GetItemPyData(
    411         G2gd.GetGPXtreeItemId(
    412             G2frame,G2frame.PatternId, 'Sample Parameters')
    413         )
     407    sample = G2frame.GPXtree.GetItemPyData(G2gd.GetGPXtreeItemId(G2frame,G2frame.PatternId,'Sample Parameters'))
    414408    hGeom = sample.get('Type')
    415409    hstName = G2frame.GPXtree.GetItemText(G2frame.PatternId)
Note: See TracChangeset for help on using the changeset viewer.