Changeset 1932 for trunk/GSASII.py


Ignore:
Timestamp:
Jul 16, 2015 4:44:06 PM (7 years ago)
Author:
vondreele
Message:

fix problems with plotting & phase handling when there is no structure (e.g. Pawley refinements)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1931 r1932  
    35603560                    if 'Phases' in parentName:
    35613561                        data = self.PatternTree.GetItemPyData(itemId)
    3562                         data['Drawing']['Atoms'] = []
    3563                         self.dataDisplay.SetSelection(4)    #location of Drawing Data
     3562                        if data['Drawing']:
     3563                            data['Drawing']['Atoms'] = []
     3564                            self.dataDisplay.SetSelection(4)    #location of Drawing Data
    35643565                        self.dataDisplay.SetSelection(tabId)
    35653566                    elif Id:
Note: See TracChangeset for help on using the changeset viewer.