Changeset 3709


Ignore:
Timestamp:
Oct 26, 2018 10:29:31 AM (3 years ago)
Author:
vondreele
Message:

fixes to enables for LoadCell? & run Bilbao stuff

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3686 r3709  
    51525152        self.ExportCells = self.IndexEdit.Append(G2G.wxID_EXPORTCELLS,'Export cell list','Export cell list to csv file')
    51535153        self.PostfillDataMenu()
     5154        self.LoadCell.Enable(False)
    51545155        self.IndexPeaks.Enable(False)
    51555156        self.RunSubGroups.Enable(False)
  • trunk/GSASIIpwdGUI.py

    r3693 r3709  
    31853185        controls[13] = SGData['SpGrp']
    31863186#        G2frame.GPXtree.SetItemPyData(UnitCellsId,[controls,bravais,cells,dmin,ssopt])
    3187         G2frame.dataWindow.RunSubGroups.Enable(True)
     3187#        G2frame.dataWindow.RunSubGroups.Enable(True)
    31883188        G2frame.dataWindow.RefineCell.Enable(True)
    31893189        OnHklShow(None)
     
    36683668        controls,bravais,cells,dminx,ssopt,magcells = G2frame.GPXtree.GetItemPyData(pUCid)
    36693669        E,SGData = G2spc.SpcGroup(controls[13])
    3670         atoms = list(set([atom[1] for atom in controls[15]]))       
    36713670        Kx = [' ','0','1/2','-1/2','1/3','-1/3','2/3','1']
    36723671        Ky = [' ','0','1/2','1/3','2/3','1']
     
    39143913    elif magcells:
    39153914        G2frame.dataWindow.CopyCell.Enable(True)       
     3915    if G2gd.GetGPXtreeItemId(G2frame,G2frame.root, 'Phases'):
     3916        G2frame.dataWindow.LoadCell.Enable(True)
    39163917    G2frame.dataWindow.ClearData()
    39173918    mainSizer = G2frame.dataWindow.GetSizer()
Note: See TracChangeset for help on using the changeset viewer.