Changeset 984 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jul 8, 2013 7:30:27 AM (10 years ago)
Author:
vondreele
Message:

update Win2.7 g77 binaries
cov matrix now not modified by lam
no label plotting at all - fails
set MC/SA page after mc/sa run
fix 64 bit bug in switching to map peaks page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r978 r984  
    44194419            print '**** ERROR - no models defined for MC/SA run****'
    44204420            return
     4421        time1 = time.time()
    44214422        if process == 'single':
    44224423            pgbar = wx.ProgressDialog('MC/SA','Residual Rcf =',101.0,
     
    44294430        else:
    44304431            pgbar = None
    4431         time1 = time.time()
    44324432        try:
    44334433            tsf = 0.
     
    44474447                pgbar.Destroy()
    44484448        MCSAdata['Results'] = G2mth.sortArray(MCSAdata['Results'],2,reverse=False)
    4449         UpdateMCSA()
     4449        Page = G2frame.dataDisplay.FindPage('MC/SA')
     4450        G2frame.dataDisplay.SetSelection(Page)
     4451        wx.CallAfter(UpdateMCSA)
    44504452        G2plt.PlotStructure(G2frame,data)
    44514453
     
    49324934            print ' No.peaks found:',len(peaks)   
    49334935            Page = G2frame.dataDisplay.FindPage('Map peaks')
    4934             G2frame.dataDisplay.ChangeSelection(Page)
    4935             G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.MapPeaksMenu)
    4936             G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksMove, id=G2gd.wxID_PEAKSMOVE)
    4937             G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksDA, id=G2gd.wxID_PEAKSDA)
    4938             G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksUnique, id=G2gd.wxID_PEAKSUNIQUE)
    4939             G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksDelete, id=G2gd.wxID_PEAKSDELETE)
    4940             G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksClear, id=G2gd.wxID_PEAKSCLEAR)
     4936            G2frame.dataDisplay.SetSelection(Page)
     4937            wx.CallAfter(FillMapPeaksGrid)
    49414938            UpdateDrawAtoms()
    4942             FillMapPeaksGrid()
    49434939        else:
    49444940            print 'No map available'
Note: See TracChangeset for help on using the changeset viewer.