Ignore:
Timestamp:
Apr 29, 2016 1:45:29 PM (5 years ago)
Author:
vondreele
Message:

fix atom transform problem with incomplete structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r2228 r2232  
    243243    invTrans = nl.inv(Trans)
    244244    newAtoms = FillUnitCell(oldPhase)
    245     Unit = [int(max(unit))-1 for unit in Trans]
     245    Unit =[abs(int(max(unit))-1) for unit in Trans]
    246246    for i,unit in enumerate(Unit):
    247247        if unit > 0:
Note: See TracChangeset for help on using the changeset viewer.