Changeset 577 for trunk/GSASIIstruct.py


Ignore:
Timestamp:
Apr 27, 2012 9:45:26 AM (10 years ago)
Author:
toby
Message:

fix error in reporting constraint errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstruct.py

    r570 r577  
    117117def CheckConstraints(GPXfile):
    118118    '''Load constraints and related info and return any error or warning messages'''
     119    # init constraints
     120    G2mv.InitVars()   
    119121    # get variables
    120122    Histograms,Phases = GetUsedHistogramsAndPhases(GPXfile)
     
    127129    histVary,histDict,controlDict = GetHistogramData(Histograms)
    128130    varyList = phaseVary+hapVary+histVary
    129     # setup constraints
    130     G2mv.InitVars()   
    131131    constrDict,fixedList = GetConstraints(GPXfile)
    132132    return G2mv.CheckConstraints(varyList,constrDict,fixedList)
Note: See TracChangeset for help on using the changeset viewer.