Changeset 4292


Ignore:
Timestamp:
Feb 10, 2020 12:48:34 PM (21 months ago)
Author:
vondreele
Message:

disable Compare unless phase is P 1.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4291 r4292  
    56445644        self.GeneralCalc.Append(G2G.wxID_TRANSFORMSTRUCTURE,'Transform','Transform crystal structure')
    56455645        self.GeneralCalc.Append(G2G.wxID_COMPARESTRUCTURE,'Compare','Compare polyhedra to ideal octahedra/tetrahedra')
     5646        self.GeneralCalc.Enable(G2G.wxID_COMPARESTRUCTURE,False)   
    56465647        self.GeneralCalc.Append(G2G.wxID_USEBILBAOMAG,'Select magnetic/subgroup phase','If disabled, make in PWDR/Unit Cells')       
    56475648        self.GeneralCalc.Append(G2G.wxID_VALIDPROTEIN,'Protein quality','Protein quality analysis')
  • trunk/GSASIIphsGUI.py

    r4291 r4292  
    26952695            G2frame.dataWindow.GeneralCalc.Enable(G2G.wxID_MULTIMCSA,True)
    26962696            G2frame.dataWindow.GeneralCalc.Enable(G2G.wxID_4DCHARGEFLIP,False)
     2697           
    26972698
    26982699        mainSizer.Add(PawleySizer())
     
    27062707            G2G.HorizontalLine(mainSizer,General)
    27072708            mainSizer.Add(MCSASizer())
     2709        G2frame.dataWindow.GeneralCalc.Enable(G2G.wxID_COMPARESTRUCTURE,False)
    27082710        if generalData['SGData']['SpGrp'] == 'P 1':
     2711            G2frame.dataWindow.GeneralCalc.Enable(G2G.wxID_COMPARESTRUCTURE,True)
    27092712            G2G.HorizontalLine(mainSizer,General)
    27102713            mainSizer.Add(compareSizer())
Note: See TracChangeset for help on using the changeset viewer.