Changeset 4562


Ignore:
Timestamp:
Sep 6, 2020 4:23:42 PM (15 months ago)
Author:
vondreele
Message:

remove extra equivalent positions from dist/angle list - needed %1. in test for equivalence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r4526 r4562  
    21022102                    newX = XT
    21032103                if All:
    2104                     if np.allclose(newX,X,atol=0.0002):
     2104                    if np.allclose(newX,X,atol=0.0002):     #do we want %1. here?
    21052105                        idup = False
    21062106                else:
    2107                     if True in [np.allclose(newX,oldX,atol=0.0002) for oldX in XYZEquiv]:
     2107                    if True in [np.allclose(newX%1.,oldX%1.,atol=0.0002) for oldX in XYZEquiv]:
    21082108                        idup = False
    21092109                if All or idup:
Note: See TracChangeset for help on using the changeset viewer.