Changeset 3220
- Timestamp:
- Jan 12, 2018 2:18:13 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r3219 r3220 86 86 cents = [0,] 87 87 if len(Cents) > 1: 88 cents = text[-1].split(';')88 cents = self.text[-1].split(';') 89 89 lentable = len(self.table) 90 for line in text:90 for line in self.text: 91 91 mainSizer.Add(wx.StaticText(self.panel,label=' %s '%(line)),0,WACV) 92 92 ncol = self.table[0].count(',')+2 … … 5312 5312 xyzB = np.array(atomB[cx:cx+3]) 5313 5313 Uij = atomB[cuij:cuij+6] 5314 # GSASIIpath.IPyBreak()5315 5314 result = G2spc.GenAtom(xyzB,SGData,False,Uij,True) 5316 5315 for item in result: -
trunk/GSASIIspc.py
r3219 r3220 502 502 mulList = [2,3,3,4,4,5,5,5,5,6,6,7,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9] 503 503 prodList = [1.,1.,2.,1.,3.,1.,2.,3.,4.,1.,5.,1.,2.,3.,4.,5.,6.,1.,3.,5.,7.,1.,2.,4.,5.,7.,8.] 504 nCen = len(Cen) 504 505 for i,cen in enumerate(Cen): 505 506 txt = '' … … 513 514 break 514 515 lattTxt += txt[:-1]+'; ' 515 if i and not i%8 :516 if i and not i%8 and i < nCen-1: #not for the last cen! 516 517 lattTxt += '\n ' 517 518 return lattTxt[:-2] … … 3089 3090 'P 6 c c','P 63 c m','P 63 m c','P -6 m 2','P -6 c 2','P -6 2 m', 3090 3091 'P -6 2 c','P 6/m m m','P 6/m c c','P 63/m c m','P 63/m m c',), 3091 'Pm3m': ('P 2 3','P 21 3','P m 3','P n 3','P a 3','P 4 3 2','P 42 3 2', 3092 'P 43 3 2','P 41 3 2','P -4 3 m','P -4 3 n','P m 3 m','P m -3 m','P n 3 n', 3093 'P m 3 n','P n 3 m','P n -3 n','P n -3 m','P m -3 n',), 3092 'Pm3m': ('P 2 3','P 21 3','P m 3','P m -3','P n 3','P n -3','P a 3','P a -3', 3093 'P 4 3 2','P 42 3 2','P 43 3 2','P 41 3 2','P -4 3 m','P -4 3 n', 3094 'P m 3 m','P m -3 m','P n 3 n','P n -3 n', 3095 'P m 3 n','P m -3 n','P n 3 m','P n -3 m',), 3094 3096 'Im3m':('I 2 3','I 21 3','I m -3','I a -3', 'I 4 3 2','I 41 3 2', 3095 3097 'I -4 3 m', 'I -4 3 d','I m -3 m','I m 3 m','I a -3 d','I n -3 n'), -
trunk/imports/G2phase_CIF.py
r3219 r3220 250 250 if magnetic: 251 251 self.MPhase['General']['SGData'] = SGData 252 # self.MPhase['General']['SGData']['SpnFlp'] = censpn253 252 self.MPhase['General']['SGData']['MagSpGrp'] = MSSpGrp.replace(',','').replace('\\','') 254 # self.MPhase['General']['SGData']['MagPtGp'] = blk.get('_space_group.magn_point_group')255 # if not self.MPhase['General']['SGData']['MagPtGp']:256 # self.MPhase['General']['SGData']['MagPtGp'] = blk.get('_space_group.magn_point_group_name')257 253 self.MPhase['General']['SSGData'] = SSGData 258 # GenSym,GenFlg = G2spc.GetGenSym(SGData)259 # self.MPhase['General']['SGData']['GenSym'] = GenSym260 # self.MPhase['General']['SGData']['GenFlg'] = GenFlg261 254 262 255 if magnetic: #replace std operaors with those from cif file - probably not the same! … … 304 297 spnflp = [] 305 298 for op in sgoploop: 306 M,T,S = G2spc.MagText2MTS(op[opid]) 307 SGData['SGOps'].append([np.array(M,dtype=float),T]) 308 spnflp.append(S) 299 try: 300 M,T,S = G2spc.MagText2MTS(op[opid]) 301 SGData['SGOps'].append([np.array(M,dtype=float),T]) 302 spnflp.append(S) 303 except KeyError: 304 self.warnings += 'Space group operator '+op[opid]+' is not recognized by GSAS-II' 305 return False 309 306 censpn = [] 310 307 for cent in sgcenloop: … … 321 318 MagPtGp = blk.get('_space_group_magn.point_group_name') 322 319 self.MPhase['General']['SGData']['MagPtGp'] = MagPtGp 323 324 325 320 326 321 # cell parameters
Note: See TracChangeset
for help on using the changeset viewer.