Ignore:
Timestamp:
Nov 30, 2010 2:48:30 PM (12 years ago)
Author:
srkline
Message:

fixes to ILL DIV file loading

bug in GenCurveFit? being passed a null hold string

FTP check still not working

File:
1 edited

Legend:

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

    r764 r769  
    185185        WAVE/Z bar.ffsWaves[0] = fs.resW                //will not exist for 3-column data sets 
    186186         
    187  
     187        // FuncFit can accept a null HoldStr, this cannot.  
     188        if(strlen(holdStr)==0) 
     189                Variable nc=numpnts(bar.w),ii 
     190                for(ii=0;ii<nc;ii+=1) 
     191                        holdStr += "0" 
     192                endfor 
     193                print holdStr 
     194        endif 
     195         
    188196        //need to parse limits, or make up some defaults 
    189197        // limits is (n,2) 
Note: See TracChangeset for help on using the changeset viewer.