Changeset 3903 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Apr 16, 2019 10:37:51 AM (3 years ago)
Author:
vondreele
Message:

fix for HKLF data as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3902 r3903  
    12681268            if 'PWDR' in reflName:
    12691269                PatternId = G2gd.GetGPXtreeItemId(G2frame,G2frame.root, reflName)
    1270                 if not PatternId:
     1270                if not PatternId:       #got 0
    12711271                    return None
    12721272                reflSets = G2frame.GPXtree.GetItemPyData(G2gd.GetGPXtreeItemId(G2frame,PatternId,'Reflection Lists'))
     
    12741274            elif 'HKLF' in reflName:
    12751275                PatternId = G2gd.GetGPXtreeItemId(G2frame,G2frame.root, reflName)
     1276                if not PatternId:       #got 0
     1277                    return None
    12761278                reflData = G2frame.GPXtree.GetItemPyData(PatternId)[1]
    12771279                if 'Type' not in reflData:
Note: See TracChangeset for help on using the changeset viewer.