Changeset 3591 for trunk/GSASIIspc.py
- Timestamp:
- Sep 11, 2018 4:13:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIspc.py
r3589 r3591 1116 1116 Text = Text.replace('1.0','').replace('.0','').replace('0.5','1/2') 1117 1117 return Text[:-1] 1118 1119 def getlattSym(Trans): 1120 Fives = {'ababc':'abc','bcbca':'cba','acacb':'acb'} 1121 transText = Trans2Text(Trans) 1122 lattSym = '' 1123 for fld in transText.split(','): 1124 if 'a' in fld: lattSym += 'a' 1125 if 'b' in fld: lattSym += 'b' 1126 if 'c' in fld: lattSym += 'c' 1127 if len(lattSym) == 5: 1128 lattSym = Fives[lattSym] 1129 return lattSym 1130 1118 1131 1119 1132 def Text2MT(mcifOpr,CIF=True):
Note: See TracChangeset
for help on using the changeset viewer.