Changeset 4468 for trunk/GSASIIplot.py
- Timestamp:
- Jun 6, 2020 3:52:50 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4467 r4468 8205 8205 except: 8206 8206 SetSelectedAtoms(i,Add) 8207 G2frame.G2plotNB.status.SetStatusText( 8208 ' Selected peak/atom: {}'.format(peak[0]),1) 8207 8209 return 8208 8210 elif G2frame.phaseDisplay.GetPageText(getSelection()) == 'Draw Atoms': 8209 8211 atomList = drawAtoms 8210 8212 cx = G2phG.getAtomPtrs(data,True)[0] 8213 sympt = cx+3 8211 8214 else: 8212 8215 atomList = data['Atoms'] 8213 8216 cx = G2phG.getAtomPtrs(data)[0] 8217 sympt = None 8214 8218 for i,atom in enumerate(atomList): 8215 8219 x,y,z = atom[cx:cx+3] … … 8225 8229 except: 8226 8230 SetSelectedAtoms(i,Add) 8231 lbl = atom[0] 8232 if sympt: 8233 lbl += ' ' + atom[sympt] 8234 G2frame.G2plotNB.status.SetStatusText( 8235 ' Selected atom: {}'.format(lbl),1) 8236 return 8227 8237 8228 8238 def OnMouseDown(event):
Note: See TracChangeset
for help on using the changeset viewer.