Ignore:
Timestamp:
Oct 24, 2022 1:45:40 PM (8 months ago)
Author:
toby
Message:

minor cell merge fmt and NIST*LATTICE build changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r5352 r5356  
    60586058        [['m3','m3m'],[" Unit cell: a = "],["{:.5f}"],[0]],
    60596059        [['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]],
    60626063        [['mmm'],[" a = "," b = "," c = "],["{:.5f}","{:.5f}","{:.5f}"],
    60636064            [0,1,2]],
     
    60836084            break
    60846085    for txt,fmt,indx in zip(*useGUI[1:]):
    6085         col = 1+2*indx
     6086        col = 1+2*abs(indx)
    60866087        cellrow = row
    6087         if editAllowed and indx > 2:
     6088        if editAllowed and abs(indx) > 2:
    60886089            cellrow = row + 1
    6089             col = 1+2*(indx-3)
     6090            col = 1+2*(abs(indx)-3)
    60906091        cellSizer.Add(wx.StaticText(frame,label=txt),(cellrow,col))
    6091         if editAllowed:
     6092        if editAllowed and indx >= 0:
    60926093            Fmt = (10,5)
    60936094            if '.3' in fmt: Fmt = (10,3)
     
    60976098            cellList.append(cellVal.GetId())
    60986099        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))
    61006101    #volume
    61016102    volCol = 13
Note: See TracChangeset for help on using the changeset viewer.