Changeset 185
- Timestamp:
- Dec 1, 2010 12:02:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r173 r185 772 772 try: 773 773 drawData = data['Drawing'] 774 x,y,z = drawData['testPos'] 774 x,y,z = drawData['testPos'][0] 775 775 AtomAdd(x,y,z) 776 776 except: … … 805 805 if 'Drawing' in data: 806 806 drawData = data['Drawing'] 807 x,y,z = drawData['testPos'] 807 x,y,z = drawData['testPos'][0] 808 808 AtomAdd(x,y,z) 809 809 FillAtomsGrid() … … 930 930 'bondRadius':0.1,'ballScale':0.33,'vdwScale':0.67,'ellipseProb':50,'sizeH':0.50, 931 931 'unitCellBox':False,'showABC':True,'selectedAtoms':[], 932 'Rotation':[0.0,0.0,0.0,[]],'bondList':{},'testPos':[ -.1,-.1,-.1]}932 'Rotation':[0.0,0.0,0.0,[]],'bondList':{},'testPos':[[-.1,-.1,-.1],[0.0,0.0,0.0],[0,0]]} 933 933 try: 934 934 drawingData = data['Drawing'] … … 1248 1248 1249 1249 def DrawAtomColor(event): 1250 1250 1251 indx = drawAtoms.GetSelectedRows() 1251 1252 if indx: 1253 if len(indx) > 1: 1254 self.dataFrame.SetStatusText('Select Custom Color, change color, Add to Custom Colors, then OK') 1255 else: 1256 self.dataFrame.SetStatusText('Change color, Add to Custom Colors, then OK') 1252 1257 generalData = data['General'] 1253 1258 atomData = data['Drawing']['Atoms'] … … 1279 1284 drawAtoms.ClearSelection() 1280 1285 dlg.Destroy() 1286 self.dataFrame.SetStatusText('') 1281 1287 1282 1288 def ResetAtomColors(event):
Note: See TracChangeset
for help on using the changeset viewer.