Changeset 850 for trunk/GSASIIElem.py


Ignore:
Timestamp:
Feb 12, 2013 1:21:23 PM (9 years ago)
Author:
vondreele
Message:

fix problem with atoms with An+ style of valence
more places for size results
more rigid body work
allow for skinnier images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIElem.py

    r762 r850  
    8181        return True
    8282    else:
    83         return False 
     83        return False
     84
     85def FixValence(El):
     86    if '+' in El[-1]: #converts An+/- to A+/-n
     87        num = El[-2]
     88        El = El.split(num)[0]+'+'+num
     89    if '-' in El[-1]:
     90        num = El[-2]
     91        El = El.split(num)[0]+'-'+num
     92    return El
    8493       
    8594def GetAtomInfo(El):
Note: See TracChangeset for help on using the changeset viewer.