Changeset 5356 for trunk/GSASIIctrlGUI.py
- Timestamp:
- Oct 24, 2022 1:45:40 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIctrlGUI.py
r5352 r5356 6058 6058 [['m3','m3m'],[" Unit cell: a = "],["{:.5f}"],[0]], 6059 6059 [['3R','3mR'],[" a = ",u" \u03B1 = "],["{:.5f}","{:.3f}"],[0,3]], 6060 [['3','3m1','31m','6/m','6/mmm','4/m','4/mmm'],[" a = "," c = "], 6061 ["{:.5f}","{:.5f}"],[0,2]], 6060 [['3','3m1','31m','6/m','6/mmm','4/m','4/mmm'], 6061 [" a = "," c = ",u" \u03B3 = "], 6062 ["{:.5f}","{:.5f}","{:.3f}"],[0,2,-5]], 6062 6063 [['mmm'],[" a = "," b = "," c = "],["{:.5f}","{:.5f}","{:.5f}"], 6063 6064 [0,1,2]], … … 6083 6084 break 6084 6085 for txt,fmt,indx in zip(*useGUI[1:]): 6085 col = 1+2* indx6086 col = 1+2*abs(indx) 6086 6087 cellrow = row 6087 if editAllowed and indx> 2:6088 if editAllowed and abs(indx) > 2: 6088 6089 cellrow = row + 1 6089 col = 1+2*( indx-3)6090 col = 1+2*(abs(indx)-3) 6090 6091 cellSizer.Add(wx.StaticText(frame,label=txt),(cellrow,col)) 6091 if editAllowed :6092 if editAllowed and indx >= 0: 6092 6093 Fmt = (10,5) 6093 6094 if '.3' in fmt: Fmt = (10,3) … … 6097 6098 cellList.append(cellVal.GetId()) 6098 6099 else: 6099 cellSizer.Add(wx.StaticText(frame,label=fmt.format(cell[ indx])),(cellrow,col+1))6100 cellSizer.Add(wx.StaticText(frame,label=fmt.format(cell[abs(indx)])),(cellrow,col+1)) 6100 6101 #volume 6101 6102 volCol = 13
Note: See TracChangeset
for help on using the changeset viewer.