Ignore:
Timestamp:
Jun 6, 2008 11:03:22 AM (14 years ago)
Author:
srkline
Message:

Added menu option to all 3 templates for "Check for Updates". Includes for each template now include the FTP procedure file.

Added a condition to CheckIfRawData? (NCNR_Utils) to look for very small files. Small files (cleanout.txt is 2 bytes) were moving past EOF and displaying an error dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/NCNR_Utils.ipf

    r328 r377  
    439439        totalBytes = V_logEOF 
    440440        //Print totalBytes 
     441        if(totalBytes < 100) 
     442                Close refNum 
     443                return(0)               //not a raw file 
     444        endif 
    441445        FSetPos refNum,75 
    442446        FReadLine/N=3 refNum,testStr 
Note: See TracChangeset for help on using the changeset viewer.