Changeset 1789


Ignore:
Timestamp:
Apr 14, 2015 8:36:10 AM (7 years ago)
Author:
vondreele
Message:

fix to POData & peak picking

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1785 r1789  
    666666                    POData[6] = [hkls[i] for i in dlg.GetSelections()]
    667667                    if not POData[6]:
    668                         POData[6] = ['']
     668                        POData[6] = ['',]
    669669                else:
    670670                    return
     
    907907                POData.append(['',])
    908908                POData.append(0.1)
     909            if not POData[6]:
     910                POData[6] = ['',]
    909911# end patch
    910912            poSizer.Add(PoTopSizer(POData))
  • trunk/GSASIIplot.py

    r1788 r1789  
    12411241            data = G2frame.PatternTree.GetItemPyData(PickId)
    12421242            ypos = event.ydata
    1243             data[0]['delOffset'] = -ypos/Ymax
    12441243            G2frame.itemPicked = None
    12451244            G2frame.PatternTree.SetItemPyData(PickId,data)
Note: See TracChangeset for help on using the changeset viewer.