Changeset 5251 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Mar 25, 2022 9:53:53 AM (3 years ago)
Author:
vondreele
Message:

useful comments added to GetTruePosition?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIplot.py

    r5250 r5251  
    91369136                if np.allclose(xy,XY,atol=10) and Z < Zmax:
    91379137                    Zmax = Z
    9138                     try:
    9139                         Indx.remove(i)
     9138                    try:        #to see if selection in previously selected (Indx)
     9139                        Indx.remove(i) #get exception if Indx doesn't exist or i not in Indx
    91409140                        ClearSelectedAtoms()
    91419141                        for Id in Indx:
     
    91599159            if np.allclose(xy,XY,atol=10) and Z < Zmax:
    91609160                Zmax = Z
    9161                 try:
    9162                     Indx.remove(i)
     9161                try:        #to see if selection in previously selected (Indx)
     9162                    Indx.remove(i) #get exception if Indx doesn't exist or i not in Indx
    91639163                    ClearSelectedAtoms()
    91649164                    for Id in Indx:
     
    91719171                        lbl = atom[ct-1]
    91729172                    lbl += ' ' + atom[cs]
    9173                     G2frame.G2plotNB.status.SetStatusText(
    9174                             '    Selected atom: {}'.format(lbl),1)
     9173                    G2frame.G2plotNB.status.SetStatusText('    Selected atom: {}'.format(lbl),1)
    91759174        return
    91769175                                       
Note: See TracChangeset for help on using the changeset viewer.