Ignore:
Timestamp:
Jun 5, 2017 9:12:03 PM (6 years ago)
Author:
vondreele
Message:

fix Pawley restraint problem
force skip of disordered residues in pdb reader - can't handle them in G2
small cleanup in SVD stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r2838 r2858  
    437437                            pWnum[name] += 1
    438438    pWsum['PWLref'] = 0.
    439     pWnum[name] = 0
     439    pWnum['PWLref'] = 0
    440440    for item in varyList:
    441441        if 'PWLref' in item and parmDict[item] < 0.:
     
    446446                pWt.append(negWt[pId])
    447447                pWsum['PWLref'] += negWt[pId]*(parmDict[item])**2
    448                 pWnum[name] += 1
     448                pWnum['PWLref'] += 1
    449449    pVals = np.array(pVals)
    450450    pWt = np.array(pWt)         #should this be np.sqrt?
Note: See TracChangeset for help on using the changeset viewer.