Changeset 3246 for trunk/GSASIIIO.py
- Timestamp:
- Jan 28, 2018 8:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIIO.py
r3228 r3246 1420 1420 return True 1421 1421 elif len(self.Phases) == 1: 1422 self.phasenam = self.Phases.keys()1422 self.phasenam = list(self.Phases.keys()) 1423 1423 elif self.multiple: 1424 1424 choices = sorted(self.Phases.keys()) … … 1481 1481 return True 1482 1482 elif len(self.Histograms) == 1: 1483 self.histnam = self.Histograms.keys()1483 self.histnam = list(self.Histograms.keys()) 1484 1484 else: 1485 1485 choices = sorted(self.Histograms.keys()) … … 1604 1604 else: 1605 1605 varyList = list(varyList) 1606 # add symmetry-generated constraints 1607 rigidbodyDict = self.G2frame.GPXtree.GetItemPyData( 1608 G2gd.GetGPXtreeItemId(self.G2frame,self.G2frame.root,'Rigid bodies')) 1609 rbIds = rigidbodyDict.get('RBIds',{'Vector':[],'Residue':[]}) 1610 rbVary,rbDict = G2stIO.GetRigidBodyModels(rigidbodyDict,Print=False) 1611 Natoms,atomIndx,phaseVary,phaseDict,pawleyLookup,FFtables,BLtables,MFtables,maxSSwave = G2stIO.GetPhaseData( 1612 Phases,RestraintDict=None,rbIds=rbIds,Print=False) # generates atom symmetry constraints 1606 1613 try: 1607 1614 groups,parmlist = G2mv.GroupConstraints(constDict) 1608 1615 G2mv.GenerateConstraints(groups,parmlist,varyList,constDict,fixedList,self.parmDict) 1616 #print(G2mv.VarRemapShow(varyList)) 1609 1617 except: 1610 1618 # this really should not happen … … 2660 2668 l[-1] += j 2661 2669 t += n + l + ['','Unused columns:'] 2662 usedCols = l bldict.keys()2670 usedCols = list(lbldict.keys()) 2663 2671 for i in keyCols.values(): usedCols += i 2664 2672 for i in range(len(items)):
Note: See TracChangeset
for help on using the changeset viewer.