Changeset 5356
- Timestamp:
- Oct 24, 2022 1:45:40 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 3 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 -
trunk/exports/G2export_CIF.py
r5353 r5356 4592 4592 pos=wx.DefaultPosition,style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER) 4593 4593 dlg.CenterOnParent() 4594 import imp 4595 imp.reload(G2G) 4594 # import imp 4595 # print('reloading ',G2G) 4596 # imp.reload(G2G) 4596 4597 def onChange(*args,**kwargs): 4597 #wx.CallAfter(showMergeMag)4598 4598 wx.CallLater(100,showMergeMag) 4599 4599 def showMergeMag(): -
trunk/fsource/SConstruct
r5355 r5356 382 382 installcmd = "copy $TARGET " + InstallLoc 383 383 else: 384 installcmd = "cp $TARGET " + InstallLoc384 installcmd = "cp -p $TARGET " + InstallLoc 385 385 return [cmd, installcmd] 386 386 env.Append(BUILDERS = {'nist' : Builder(generator = generate_nist)},) … … 423 423 filename = str(lib[0]) 424 424 425 # NIST*LATTICE programs426 for src in 'LATTIC.f','convcell.f':427 target = os.path.splitext(src)[0] + EXEsuffix428 out = env.nist(target,src)429 Clean(out, target)430 Depends(target, NISTlib) # make sure library is rebuilt if old431 432 425 # find modules that need to be built 433 426 modlist = [] … … 439 432 Depends(target, liblist) # make sure libraries are rebuilt if old 440 433 modlist.append(out[0].name) 434 435 # NIST*LATTICE programs 436 for src in 'LATTIC.f','convcell.f': 437 target = os.path.splitext(src)[0] + EXEsuffix 438 out = env.nist(target,src) 439 Clean(out, target) 440 Depends(target, NISTlib) # make sure library is rebuilt if old 441 441 #========================================================================================== 442 442 # all done with setup, show the user the options and let scons do the work
Note: See TracChangeset
for help on using the changeset viewer.