Changeset 926
- Timestamp:
- May 20, 2013 10:39:07 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r906 r926 70 70 import GSASIIpwdGUI as G2pdG 71 71 import GSASIIspc as G2spc 72 import GSASIIstruct as G2str 72 import GSASIIstrMain as G2stMn 73 import GSASIIstrIO as G2stIO 73 74 import GSASIImapvars as G2mv 74 75 import GSASIIsolve as G2sol … … 2304 2305 rigidbodyDict = self.PatternTree.GetItemPyData( 2305 2306 G2gd.GetPatternTreeItemId(self,self.root,'Rigid bodies')) 2306 rbVary,rbDict = G2st r.GetRigidBodyModels(rigidbodyDict,Print=False)2307 rbVary,rbDict = G2stIO.GetRigidBodyModels(rigidbodyDict,Print=False) 2307 2308 rbIds = rigidbodyDict.get('RBIds',{'Vector':[],'Residue':[]}) 2308 Natoms,atomIndx,phaseVary,phaseDict,pawleyLookup,FFtable,BLtable = G2st r.GetPhaseData(Phases,RestraintDict=None,rbIds=rbIds,Print=False)2309 hapVary,hapDict,controlDict = G2st r.GetHistogramPhaseData(Phases,Histograms,Print=False)2310 histVary,histDict,controlDict = G2st r.GetHistogramData(Histograms,Print=False)2309 Natoms,atomIndx,phaseVary,phaseDict,pawleyLookup,FFtable,BLtable = G2stIO.GetPhaseData(Phases,RestraintDict=None,rbIds=rbIds,Print=False) 2310 hapVary,hapDict,controlDict = G2stIO.GetHistogramPhaseData(Phases,Histograms,Print=False) 2311 histVary,histDict,controlDict = G2stIO.GetHistogramData(Histograms,Print=False) 2311 2312 varyList = rbVary+phaseVary+hapVary+histVary 2312 2313 parmDict.update(rbDict) … … 2338 2339 self.OnFileSave(event) 2339 2340 # check that constraints are OK here 2340 errmsg, warnmsg = G2st r.CheckConstraints(self.GSASprojectfile)2341 errmsg, warnmsg = G2stIO.CheckConstraints(self.GSASprojectfile) 2341 2342 if errmsg: 2342 2343 print('Error in constraints:\n'+errmsg+ … … 2364 2365 Rw = 100.00 2365 2366 try: 2366 Rw = G2st r.Refine(self.GSASprojectfile,dlg)2367 Rw = G2stMn.Refine(self.GSASprojectfile,dlg) 2367 2368 finally: 2368 2369 dlg.Destroy() … … 2410 2411 self.OnFileSave(event) 2411 2412 # check that constraints are OK here 2412 errmsg, warnmsg = G2st r.CheckConstraints(self.GSASprojectfile)2413 errmsg, warnmsg = G2stIO.CheckConstraints(self.GSASprojectfile) 2413 2414 if errmsg: 2414 2415 print('Error in constraints:\n'+errmsg+ … … 2433 2434 dlg.SetSize(Size) 2434 2435 try: 2435 G2st r.SeqRefine(self.GSASprojectfile,dlg)2436 G2stMn.SeqRefine(self.GSASprojectfile,dlg) 2436 2437 finally: 2437 2438 dlg.Destroy() -
trunk/testDeriv.py
r918 r926 126 126 Size[1] = max(Size[1],290) + 35 127 127 self.testDerivPanel.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1) 128 print Size 128 129 self.testDerivPanel.SetSize(Size) 129 130
Note: See TracChangeset
for help on using the changeset viewer.