Changeset 1818
- Timestamp:
- Apr 28, 2015 2:49:55 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImapvars.py
r1805 r1818 600 600 msg += str(mv) + " => " + s + '\n' 601 601 # save the lists of dep. and indep. vars (after dropping unused) 602 global dependentVars,independentVars 603 dependentVars = depVarList 602 global independentVars 604 603 independentVars = indepVarList 604 #print 'independentVars=',independentVars 605 605 equivVarList = list(set(indepVarList).union(set(depVarList))) 606 606 … … 746 746 fixedDict[fixedval] = float(fixedval) 747 747 748 # make list of dependent variables 749 global dependentVars 750 depVarList = [] 751 for varlist,mapvars,invmultarr in zip( # process equivalences 752 dependentParmList,indParmList,invarrayList): 753 for i,mv in enumerate(varlist): 754 if mv not in depVarList: depVarList.append(mv) 755 dependentVars = depVarList 748 756 if debug: # on debug, show what is parsed & generated, semi-readable 749 757 print 50*'-' -
trunk/GSASIIstrMain.py
r1813 r1818 178 178 groups,parmlist = G2mv.GroupConstraints(constrDict) 179 179 G2mv.GenerateConstraints(groups,parmlist,varyList,constrDict,fixedList,parmDict) 180 #print G2mv.VarRemapShow(varyList) 180 181 except: 181 182 print ' *** ERROR - your constraints are internally inconsistent ***'
Note: See TracChangeset
for help on using the changeset viewer.