Changeset 3752


Ignore:
Timestamp:
Dec 4, 2018 12:58:52 PM (4 years ago)
Author:
vondreele
Message:

more fixes to GetHistogramPhaseData?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r3751 r3752  
    23532353                        if hapData['Babinet']['BabA'][0]:
    23542354                            PrintBabinet(hapData['Babinet'])
    2355                 if phase in Histogram['Reflection Lists'] and 'RefList' not in Histogram['Reflection Lists'][phase] and hapData['LeBail']:
     2355                if phase in Histogram['Reflection Lists'] and 'RefList' not in Histogram['Reflection Lists'][phase] and hapData.get('LeBail',False):
    23562356                    hapData['newLeBail'] = True
    2357                 if resetRefList and (not hapDict[pfx+'LeBail'] or (hapData['LeBail'] and hapData['newLeBail'])):
     2357                if resetRefList and (not hapDict[pfx+'LeBail'] or (hapData.get('LeBail',False) and hapData['newLeBail'])):
    23582358                    if hapData.get('LeBail',True):         #stop regeneating reflections for LeBail
    23592359                        hapData['newLeBail'] = False
Note: See TracChangeset for help on using the changeset viewer.