Changeset 3461 for trunk/GSASIIobj.py


Ignore:
Timestamp:
Jul 4, 2018 8:35:03 PM (5 years ago)
Author:
toby
Message:

Add CheckAllScalePhaseFractions? to add constraint when all phase fractions are varied; Py3 fixes for seq fit equations; on update, save only when needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIobj.py

    r3458 r3461  
    23552355            if not self.freeVars[v][2]: continue
    23562356            if "::"+self.freeVars[v][0] not in varyList: continue
    2357             indx = varyList.index("::"+self.freeVars[v][0])
     2357            indx = list(varyList).index("::"+self.freeVars[v][0])
    23582358            self.freeVars[v][1] = values[indx]
    23592359
     
    23752375        exprLblList,fxnpkgdict = ret
    23762376        # check each var used in expression is defined
    2377         defined = self.assgnVars.keys() + self.freeVars.keys()
     2377        defined = list(self.assgnVars.keys()) + list(self.freeVars.keys())
    23782378        notfound = []
    23792379        for var in exprLblList:
Note: See TracChangeset for help on using the changeset viewer.