Ignore:
Timestamp:
Jun 21, 2021 5:58:24 PM (6 months ago)
Author:
toby
Message:

finish hist/phase tree entry; create new help file for it(incomplete)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4967 r4968  
    62866286        self.PostfillDataMenu()
    62876287       
    6288         # Phase / Data tab
     6288        # Phase / Data tab or Hist/Phase menu (used in one place or other)
    62896289        G2G.Define_wxId('wxID_DATACOPY', 'wxID_DATACOPYFLAGS', 'wxID_DATASELCOPY', 'wxID_DATAUSE',
    62906290            'wxID_PWDRADD', 'wxID_HKLFADD','wxID_DATADELETE', )
     
    75727572            G2frame.dataWindow.GetSizer().Add(
    75737573                wx.StaticText(G2frame.dataWindow,wx.ID_ANY,'Select one phase to see its restraints'))
    7574         elif G2frame.GPXtree.GetItemText(item).startswith('Hist/Phase '):
     7574        elif G2frame.GPXtree.GetItemText(item).startswith('Hist/Phase'):
    75757575            #import imp
    75767576            #imp.reload(G2ddG)
     
    77927792def FindPhaseItem(G2frame):
    77937793    '''Finds the Phase item in the tree. If not present it adds one
    7794     also adding 'Hist/Phase Params' if config var SeparateHistPhaseTreeItem
     7794    also adding 'Hist/Phase' if config var SeparateHistPhaseTreeItem
    77957795    is set as True.
    77967796    '''
     
    77987798        sub = G2frame.GPXtree.AppendItem(parent=G2frame.root,text='Phases')
    77997799        if GSASIIpath.GetConfigValue('SeparateHistPhaseTreeItem',False):
    7800             G2frame.GPXtree.AppendItem(parent=G2frame.root,text='Hist/Phase Params')
     7800            G2frame.GPXtree.AppendItem(parent=G2frame.root,text='Hist/Phase')
    78017801    else:
    78027802        sub = GetGPXtreeItemId(G2frame,G2frame.root,'Phases')
Note: See TracChangeset for help on using the changeset viewer.