Changeset 1138 for trunk/GSASIIstrMain.py
- Timestamp:
- Nov 7, 2013 12:12:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIstrMain.py ¶
r1125 r1138 58 58 calcControls = {} 59 59 calcControls.update(Controls) 60 constrDict,fixedList = G2stIO.GetConstraints(GPXfile) 60 constrDict,fixedList = G2stIO.GetConstraints(GPXfile) # better to pass in Histograms,Phases 61 61 restraintDict = G2stIO.GetRestraints(GPXfile) 62 62 Histograms,Phases = G2stIO.GetUsedHistogramsAndPhases(GPXfile) 63 G2obj.IndexAllIds(Histograms=Histograms,Phases=Phases) 63 64 if not Phases: 64 65 print ' *** ERROR - you have no phases! ***' … … 91 92 try: 92 93 groups,parmlist = G2mv.GroupConstraints(constrDict) 94 #G2mv.debug = True # DEBUG 93 95 G2mv.GenerateConstraints(groups,parmlist,varyList,constrDict,fixedList) 96 #G2mv.debug = False # DEBUG 94 97 except: 95 98 print ' *** ERROR - your constraints are internally inconsistent ***' … … 98 101 if warnmsg: print 'Warnings',warnmsg 99 102 raise Exception(' *** Refine aborted ***') 103 #raise Exception(' *** Refine DEBUG ***') # DEBUG 100 104 # # check to see which generated parameters are fully varied 101 105 # msg = G2mv.SetVaryFlags(varyList)
Note: See TracChangeset
for help on using the changeset viewer.