Ignore:
Timestamp:
Jul 16, 2018 4:07:12 PM (7 years ago)
Author:
vondreele
Message:

remove wx.Validator_IsSilent(): wx.Bell() from 2 places in G2ctrlGUI; doesn't exist in phoenix & not really needed.
add check of atom types for GetUnique? in G2lattice for transform of unit cell contents
modify OnTransform? & TransformDialog? to allow cancel & retry before committing to a new phase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIlattice.py

    r3406 r3474  
    393393                    mom = np.inner(np.array(atom[cm:cm+3]),Bmat)
    394394                    atom[cm:cm+3] = np.inner(np.inner(mom,M),Amat)*nl.det(M)*SpnFlp[opNum-1]
    395 #                GSASIIpath.IPyBreak()
    396395                atCodes.append('%d:%s'%(iat,str(item[1])))
    397396                atomData.append(atom[:cia+9])  #not SS stuff
     
    423422            xyz = XYZ[ind]
    424423            for jnd in range(Ind):
    425                 if ind != jnd and Indx[jnd]:                       
    426                     Equiv = G2spc.GenAtom(XYZ[jnd],SGData,Move=True)
    427                     xyzs = np.array([equiv[0] for equiv in Equiv])
    428                     Indx[jnd] = noDuplicate(xyz,xyzs,Amat)
     424                if Atoms[ind][ct] == Atoms[jnd][ct]:
     425                    if ind != jnd and Indx[jnd]:                       
     426                        Equiv = G2spc.GenAtom(XYZ[jnd],SGData,Move=True)
     427                        xyzs = np.array([equiv[0] for equiv in Equiv])
     428                        Indx[jnd] = noDuplicate(xyz,xyzs,Amat)
    429429    Ind = []
    430430    for ind in Indx:
Note: See TracChangeset for help on using the changeset viewer.