Ignore:
Timestamp:
Sep 21, 2017 2:42:50 PM (4 years ago)
Author:
vondreele
Message:

add new confit parm: Show_timing
enable editing of the Use column in seq results table; doesn't seem to affect plot tho.
always print Found SVD zeros in seq refinement as well
add local directory to path for finding fit equation functions
add a pretranslate vector to atom transformations - still needs work tho.
couple of TODOs in G2strMain for fix parameters in seq refinements
change 'debug' to 'Show_timing' in G2strMath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3092 r3095  
    67436743        else:
    67446744            dlg.Destroy()
    6745    
    6746     #def GridRowLblToolTip(row): return 'Row ='+str(row)
     6745           
     6746    def OnCellChange(event):
     6747        r = event.GetRow()
     6748        val = G2frame.SeqTable.GetValue(r,0)
     6749        print r,val
     6750        G2frame.SeqTable.SetValue(r,0, val)
    67476751   
    67486752    # lookup table for unique cell parameters by symmetry
     
    71877191        colLabels=displayLabels,rowLabels=histNames,types=Types)
    71887192    G2frame.dataDisplay.SetTable(G2frame.SeqTable, True)
    7189     G2frame.dataDisplay.EnableEditing(False)
    7190     # make all read-only
    7191 #    for c in range(len(colLabels)):
    7192 #        for r in range(nRows):
    7193 #            G2frame.dataDisplay.SetCellReadOnly(r,c)
     7193    # make all Use editable all others ReadOnly
     7194    for c in range(len(colLabels)):
     7195        for r in range(nRows):
     7196            if c:
     7197                G2frame.dataDisplay.SetReadOnly(r,c,isReadOnly=True)
     7198            else:
     7199                G2frame.dataDisplay.SetReadOnly(r,c,isReadOnly=False)
     7200    G2frame.dataDisplay.Bind(wg.EVT_GRID_CELL_CHANGE, OnCellChange)
    71947201    G2frame.dataDisplay.Bind(wg.EVT_GRID_LABEL_LEFT_CLICK, PlotSSelect)
    71957202    G2frame.dataDisplay.Bind(wg.EVT_GRID_LABEL_LEFT_DCLICK, PlotSelect)
Note: See TracChangeset for help on using the changeset viewer.