Changeset 3902


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

fix bug for bad PWDR/HKLF name in GetRefData? - now returns None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3901 r3902  
    12681268            if 'PWDR' in reflName:
    12691269                PatternId = G2gd.GetGPXtreeItemId(G2frame,G2frame.root, reflName)
     1270                if not PatternId:
     1271                    return None
    12701272                reflSets = G2frame.GPXtree.GetItemPyData(G2gd.GetGPXtreeItemId(G2frame,PatternId,'Reflection Lists'))
    12711273                reflData = reflSets[phaseName]
Note: See TracChangeset for help on using the changeset viewer.