Changeset 5251 for trunk/GSASIIplot.py
- Timestamp:
- Mar 25, 2022 9:53:53 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIplot.py ¶
r5250 r5251 9136 9136 if np.allclose(xy,XY,atol=10) and Z < Zmax: 9137 9137 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 9140 9140 ClearSelectedAtoms() 9141 9141 for Id in Indx: … … 9159 9159 if np.allclose(xy,XY,atol=10) and Z < Zmax: 9160 9160 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 9163 9163 ClearSelectedAtoms() 9164 9164 for Id in Indx: … … 9171 9171 lbl = atom[ct-1] 9172 9172 lbl += ' ' + atom[cs] 9173 G2frame.G2plotNB.status.SetStatusText( 9174 ' Selected atom: {}'.format(lbl),1) 9173 G2frame.G2plotNB.status.SetStatusText(' Selected atom: {}'.format(lbl),1) 9175 9174 return 9176 9175
Note: See TracChangeset
for help on using the changeset viewer.