Changeset 1582 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Nov 24, 2014 3:36:56 PM (8 years ago)
Author:
vondreele
Message:

revamp cell refinement in Unit Celle List
fix peak indexing in plots & bug in sqrt plot
put in error trap if indexing is tried with no peaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1581 r1582  
    24992499            G2frame.ErrorDialog('Error','No Bravais lattices selected')
    25002500            return
     2501        if not peaks[0]:
     2502            G2frame.ErrorDialog('Error','Index Peak List is empty')
     2503            return
    25012504        G2frame.dataFrame.CopyCell.Enable(False)
    25022505        G2frame.dataFrame.RefineCell.Enable(False)
     
    25792582    if G2frame.dataDisplay:
    25802583        G2frame.dataFrame.DestroyChildren()
    2581 #    G2frame.dataDisplay = wx.Panel(G2frame.dataFrame)
    25822584    G2frame.dataDisplay = wxscroll.ScrolledPanel(G2frame.dataFrame)
    25832585    G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.IndexMenu)
Note: See TracChangeset for help on using the changeset viewer.