Ignore:
Timestamp:
Oct 10, 2008 3:46:24 PM (14 years ago)
Author:
srkline
Message:

bug fixes related to XML changes in the file loader in PlotUtilsMacro?

bug fix in Wrapper, in the error checking of coefficient wave names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf

    r411 r427  
    677677        SVAR listStr=root:Packages:NIST:coefKWStr 
    678678        String properCoefStr = StringByKey(funcStr, listStr  ,"=",";",0) 
     679        if(cmpstr("",properCoefStr)==0) 
     680                return(0)               //false, no match found, so properCoefStr is returned null 
     681        endif 
    679682        if(cmpstr(coefStr,properCoefStr)==0) 
    680683                return(1)               //true, the coef is the correct match 
     
    795798// dispatch the fit 
    796799        do 
     800//              Variable t0 = stopMStimer(-2)           // corresponding print is at the end of the do-while loop (outside) 
     801                 
    797802                if(useRes && useEps && useCursors && useConstr)         //do it all 
    798803                        FuncFit/H=getHStr(hold) /NTHR=0 $funcStr cw, yw[pcsr(A),pcsr(B)] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs 
     
    891896         
    892897        while(0) 
     898         
     899//      t0 = (stopMSTimer(-2) - t0)*1e-6 
     900//      Printf  "fit time = %g seconds\r\r",t0 
    893901         
    894902        // append the fit 
Note: See TracChangeset for help on using the changeset viewer.