Changeset 2713


Ignore:
Timestamp:
Feb 17, 2017 2:39:19 PM (5 years ago)
Author:
vondreele
Message:

avoid extraneous holds @ line 405 in GSASIIstrMain.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r2698 r2713  
    402402            sigDict.update(G2mv.ComputeDepESD(covMatrix,varyList,parmDict))
    403403   
    404             # a dict with values & esds for dependent (constrained) parameters
    405             depParmDict = {i:(parmDict[i],sigDict[i]) for i in varyListStart if i not in varyList}
     404            # a dict with values & esds for dependent (constrained) parameters - avoid extraneous holds
     405            depParmDict = {i:(parmDict[i],sigDict[i]) for i in varyListStart if i in sigDict and i not in varyList}
    406406            newCellDict = copy.deepcopy(G2stMth.GetNewCellParms(parmDict,varyList))
    407407            newAtomDict = copy.deepcopy(G2stMth.ApplyXYZshifts(parmDict,varyList))
Note: See TracChangeset for help on using the changeset viewer.