Changeset 4829 for trunk


Ignore:
Timestamp:
Feb 25, 2021 5:16:59 PM (8 months ago)
Author:
toby
Message:

minor bugs: site sym for wrong RB; GUI stuff; force RB edit before refinement

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4825 r4829  
    45554555                    wx.YES|wx.NO|wx.CANCEL)
    45564556            try:
     4557                dlg.CenterOnParent()
    45574558                result = dlg.ShowModal()
    45584559            finally:
  • trunk/GSASIIphsGUI.py

    r4828 r4829  
    99609960                RBObj['Orig'][0] = list(RBObj['Orig'][0])
    99619961            topSizer.Add(wx.StaticText(RigidBodies,-1,'Origin x,y,z (frac)'),0,WACV)
     9962            topSizer.Add((-1,-1))
    99629963            for ix in range(3):
    99639964                origX = G2G.ValidatedTxtCtrl(RigidBodies,RBObj['Orig'][0],ix,nDig=(8,5),
     
    99869987            Qcheck.SetValue(RBObj['Orient'][1])
    99879988            topSizer.Add(Qcheck,0,WACV)
    9988             Sytsym,Mult = G2spc.SytSym(rbObj['Orig'][0],SGData)[:2]
     9989            Sytsym,Mult = G2spc.SytSym(RBObj['Orig'][0],SGData)[:2]
    99899990            sytsymtxt = wx.StaticText(RigidBodies,label='Origin site symmetry: %s, multiplicity: %d '%(Sytsym,Mult))
    99909991            rbSizer.Add(topSizer)
     
    1007110072            for Id in RBObj['Ids']:
    1007210073                members += data['Atoms'][AtLookUp[Id]][ct-1].strip()+', '
    10073             resrbSizer.Add(wx.StaticText(RigidBodies,label=members[:-2]),0,WACV)
     10074            resrbSizer.Add(wx.StaticText(RigidBodies,label=members[:-2]),0)
    1007410075            fracSizer = wx.BoxSizer(wx.HORIZONTAL)
    1007510076            fracSizer.Add(wx.StaticText(RigidBodies,label='Rigid Body atom site fraction: '))
  • trunk/GSASIIstrIO.py

    r4824 r4829  
    13631363       
    13641364    def MakeRBParms(rbKey,phaseVary,phaseDict):
     1365        #### patch 2/24/21 BHT: new param, AtomFrac in RB
     1366        if 'AtomFrac' not in RB: raise Exception('out of date RB: edit in RB Models')
     1367        # end patch
    13651368        rbid = str(rbids.index(RB['RBId']))
    13661369        pfxRB = pfx+'RB'+rbKey+'P'
Note: See TracChangeset for help on using the changeset viewer.