Changeset 4454
- Timestamp:
- Jun 1, 2020 2:12:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4453 r4454 3066 3066 dlg.Destroy() 3067 3067 SetupGeneral() 3068 elif Atoms.GetColLabelValue(c) == 'Name': 3069 choice = [] 3070 for r in range(Atoms.GetNumberRows()): 3071 if str(atomData[r][c]) not in choice: 3072 choice.append(str(atomData[r][c])) 3073 choice.sort() 3074 dlg = wx.SingleChoiceDialog(G2frame,'Select','Name',choice) 3075 if dlg.ShowModal() == wx.ID_OK: 3076 sel = dlg.GetSelection() 3077 parms = choice[sel] 3078 noSkip = False 3079 Atoms.ClearSelection() 3080 for row in range(Atoms.GetNumberRows()): 3081 if parms == atomData[row][c]: 3082 Atoms.SelectRow(row,True) 3083 dlg.Destroy() 3068 3084 elif Atoms.GetColLabelValue(c) == 'residue': 3069 3085 choice = [] … … 3423 3439 SetPhaseWindow(Atoms) 3424 3440 3425 # FillAtomsGrid executable code starts here3441 #### FillAtomsGrid executable code starts here 3426 3442 if not data['Drawing']: #if new drawing - no drawing data! 3427 3443 SetupDrawingData() … … 7470 7486 G2plt.PlotStructure(G2frame,data) 7471 7487 7472 7488 #### UpdateDrawAtoms executable code starts here 7473 7489 G2frame.GetStatusBar().SetStatusText('',1) 7474 7490 generalData = data['General']
Note: See TracChangeset
for help on using the changeset viewer.