Changeset 2702


Ignore:
Timestamp:
Feb 14, 2017 9:21:32 AM (5 years ago)
Author:
vondreele
Message:

fix bug in G2restrGUI

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2701 r2702  
    38523852        Called from the Calculate/View LS Parms menu.
    38533853        '''
    3854         time0 = time.time()
    38553854        parmDict,varyList = self.MakeLSParmDict()
    38563855        parmValDict = {}
     
    38743873        except:
    38753874            pass
    3876         print ' Setup time: %.3f'%(time.time()-time0)
    38773875        dlg = G2gd.ShowLSParms(self,'Least Squares Parameters',parmValDict,varyList,reqVaryList)
    38783876        dlg.ShowModal()
  • trunk/GSASIIrestrGUI.py

    r2569 r2702  
    15811581        def OnDeleteRestraint(event):
    15821582            #rows = GetSelectedRows()
    1583             rows = ChemComps.GetSelectedRows()[0] # why is this indexed as [0]?
     1583            rows = ChemComps.GetSelectedRows()
    15841584            if not rows:
    15851585                return
Note: See TracChangeset for help on using the changeset viewer.