Changeset 1882


Ignore:
Timestamp:
Jun 8, 2015 10:05:00 AM (7 years ago)
Author:
vondreele
Message:

fix bug in G2plot that only shows up in Anaconda pythons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1880 r1882  
    16901690        Parms,Parms2 = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,PatternId, 'Instrument Parameters'))
    16911691        if G2frame.PatternTree.GetItemText(PickId) in ['Index Peak List','Unit Cells List']:
    1692             peaks = np.array((G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,PatternId, 'Index Peak List'))))
     1692            peaks = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,PatternId, 'Index Peak List'))
    16931693            if not len(peaks): return # are there any peaks?
    16941694            for peak in peaks[0]:
Note: See TracChangeset for help on using the changeset viewer.