Changeset 3647


Ignore:
Timestamp:
Oct 4, 2018 4:55:19 PM (3 years ago)
Author:
toby
Message:

do removal of vars when window is created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIconstrGUI.py

    r3618 r3647  
    175175    globalList = list(rbDict.keys())
    176176    globalList.sort()
    177     globalList = G2obj.removeNonRefined(globalList)   # remove any non-refinable prms from list
    178177    try:
    179178        AtomDict = dict([Phases[phase]['pId'],Phases[phase]['Atoms']] for phase in Phases)
     
    204203            phaseAtNames[item] = ''
    205204            phaseAtTypes[item] = ''
    206     phaseList = G2obj.removeNonRefined(phaseList)  # remove any non-refinable prms from list
    207205             
    208206    # create a list of the hist*phase variables
     
    223221            if sj not in wildList: wildList.append(sj)
    224222        hapList = wildList
    225     hapList = G2obj.removeNonRefined(hapList)  # remove any non-refinable prms from list
    226223    histVary,histDict,controlDict = G2stIO.GetHistogramData(histDict,Print=False)
    227224    histList = list(histDict.keys())
     
    235232            sj = ':'.join(s)
    236233            if sj not in wildList: wildList.append(sj)
    237         histList = wildList
    238     histList = G2obj.removeNonRefined(histList)  # remove any non-refinable prms from list
     234        histList = wildList       
    239235    Indx = {}
    240236    G2frame.Page = [0,'phs']
     
    591587        if page[1] == "phs":
    592588            vartype = "phase"
    593             varList = phaseList
     589            varList = G2obj.removeNonRefined(phaseList)  # remove any non-refinable prms from list
    594590            constrDictEnt = 'Phase'
    595591        elif page[1] == "hap":
    596592            vartype = "Histogram*Phase"
    597             varList = hapList
     593            varList = G2obj.removeNonRefined(hapList)  # remove any non-refinable prms from list
    598594            constrDictEnt = 'HAP'
    599595        elif page[1] == "hst":
    600596            vartype = "Histogram"
    601             varList = histList
     597            varList = G2obj.removeNonRefined(histList)  # remove any non-refinable prms from list
    602598            constrDictEnt = 'Hist'
    603599        elif page[1] == "glb":
    604600            vartype = "Global"
    605             varList = globalList
     601            varList = G2obj.removeNonRefined(globalList)   # remove any non-refinable prms from list
     602
    606603            constrDictEnt = 'Global'
    607604        elif page[1] == "sym":
Note: See TracChangeset for help on using the changeset viewer.