Changeset 3951 for trunk/GSASIIplot.py


Ignore:
Timestamp:
May 3, 2019 12:11:32 PM (3 years ago)
Author:
vondreele
Message:

fix a pickid bug in ReplotPattern?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3950 r3951  
    17601760        G2frame.PickId = G2frame.PatternId
    17611761    elif PickName:
    1762         G2frame.PickId = G2gd.GetGPXtreeItemId(G2frame, G2frame.PatternId, PickName)
     1762        pId = G2gd.GetGPXtreeItemId(G2frame, G2frame.PatternId, PickName)
     1763        if pId:
     1764            G2frame.PickId = pId
     1765        else:
     1766            return
    17631767    elif GSASIIpath.GetConfigValue('debug'):
    17641768        print('Possible PickId problem PickId=',G2frame.PickId)
Note: See TracChangeset for help on using the changeset viewer.