Changeset 4486
- Timestamp:
- Jun 13, 2020 1:50:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4484 r4486 8219 8219 elif G2frame.phaseDisplay.GetPageText(getSelection()) == 'Draw Atoms': 8220 8220 atomList = drawAtoms 8221 cx = G2phG.getAtomPtrs(data,True)[0]8222 sympt = cx+38221 cx,ct,cs,cia = G2phG.getAtomPtrs(data,True) 8222 cs -= 1 #cs points at style for drawings; want sytsym 8223 8223 else: 8224 8224 atomList = data['Atoms'] 8225 cx = G2phG.getAtomPtrs(data)[0] 8226 sympt = None 8225 cx,ct,cs,ciax = G2phG.getAtomPtrs(data) 8227 8226 for i,atom in enumerate(atomList): 8228 8227 x,y,z = atom[cx:cx+3] … … 8238 8237 except: 8239 8238 SetSelectedAtoms(i,Add) 8240 lbl = atom[0] 8241 if sympt: 8242 lbl += ' ' + atom[sympt] 8239 if ct > 1: # macromolecule 8240 lbl = '%s %s'%(atom[0],atom[3]) 8241 else: 8242 lbl = atom[ct-1] 8243 lbl += ' ' + atom[cs] 8243 8244 G2frame.G2plotNB.status.SetStatusText( 8244 8245 ' Selected atom: {}'.format(lbl),1)
Note: See TracChangeset
for help on using the changeset viewer.