Changeset 1559 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Nov 3, 2014 2:48:51 PM (8 years ago)
Author:
vondreele
Message:

use deepcopy for various copy operations in G2ddataGUI
use complementary colors to background for cell edges
trap superlattice in cubics
more fixes to cell indexing routines from possible use of superlattice
add HStrainVals to G2spc
use it (maybe) in G2strIO, Math
make arguments for GetReflPos? & GetReflPosDeriv? the same (use A not G)
add GetDij? to G2strMath
topas xye file comments start with "'" sometimes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1552 r1559  
    22042204       
    22052205    def OnSSopt(event):
     2206        if controls[5] in ['Fm3m','Im3m','Pm3m']:
     2207            SSopt.SetValue(False)
     2208            G2frame.ErrorDialog('Cubic lattice', 'Superlattice not allowed for a cubic lattice')
     2209            return
    22062210        ssopt['Use'] = SSopt.GetValue()
    22072211        wx.CallAfter(UpdateUnitCellsGrid,G2frame,data)
     
    24682472    def RefreshUnitCellsGrid(event):
    24692473        data =G2frame.PatternTree.GetItemPyData(UnitCellsId)
    2470         cells,dmin = data[2:]
     2474        cells,dmin = data[2:4]
    24712475        r,c =  event.GetRow(),event.GetCol()
    24722476        if cells:
Note: See TracChangeset for help on using the changeset viewer.