Changeset 1600
- Timestamp:
- Dec 9, 2014 9:32:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIobj.py
r1595 r1600 391 391 cia ADP flag: Isotropic ('I') or Anisotropic ('A') 392 392 cia+1 Uiso (float) 393 cia+2...cia+6 U11, U22, U33, U12, U13, U23 (6 floats) 394 atom[-1] unique atom identifier (int) 393 cia+2...cia+7 U11, U22, U33, U12, U13, U23 (6 floats) 394 atom[cia+8] unique atom identifier (int) 395 395 396 ============== ==================================================== 396 397 … … 978 979 AtomRanIdLookup[pId] = {} 979 980 for iatm,at in enumerate(Phases[ph]['Atoms']): 980 ranId = at[ -1]981 ranId = at[cia+8] 981 982 while ranId in AtomRanIdLookup[pId]: # check for dups 982 983 print ("\n\n*** Phase "+str(ph)+" atom "+str(iatm)+" has repeated ranId. Fixing.\n") 983 at[ -1] = ranId = ran.randint(0,sys.maxint)984 at[cia+8] = ranId = ran.randint(0,sys.maxint) 984 985 AtomRanIdLookup[pId][ranId] = str(iatm) 985 986 if Phases[ph]['General']['Type'] == 'macromolecular':
Note: See TracChangeset
for help on using the changeset viewer.