Changeset 3761 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Dec 12, 2018 2:38:33 PM (4 years ago)
Author:
vondreele
Message:

avoid replotting structure if atom refine flags are changed
add new plot for structure factors as 1D stick diagram - work in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3759 r3761  
    28202820
    28212821            r,c =  event.GetRow(),event.GetCol()
     2822            replot = True
    28222823            if r >= 0 and c >= 0:
    28232824                ci = colLabels.index('I/A')
     
    28802881                    ci = colLabels.index('I/A')
    28812882                    atomData[r][c] = atomData[r][c].replace(rbAtmDict.get(atomData[r][ci+8],''),'')
     2883                    replot = False
    28822884                elif Atoms.GetColLabelValue(c) in ['Mx','My','Mz']:
    28832885                    value = atomData[r][c]
     
    28902892                        if iM == CSI[0][i]:
    28912893                            atomData[r][i+colLabels.index('Mx')] = value*CSI[1][i]
    2892                 if 'Atoms' in data['Drawing']:
     2894                if 'Atoms' in data['Drawing'] and replot:
    28932895                    ci = colLabels.index('I/A')
    28942896                    DrawAtomsReplaceByID(data['Drawing'],ci+8,atomData[r],ID)
Note: See TracChangeset for help on using the changeset viewer.