Ignore:
Timestamp:
Sep 14, 2010 10:22:42 AM (12 years ago)
Author:
srkline
Message:

Fixed bug in maunUSANS panel where clicking in white space in the file list threw up an open file dialog.

ticket #292: 1D arithmetic panel now properly writes out USANS data, switching to fill in the USANS fields if the USANS_dQv variable is found. Otherwise it is treated as SANS data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/Main_USANS.ipf

    r693 r734  
    620620        endif 
    621621        //Print fname 
    622         if(strlen(fileWave[ii]) > 0)            //make sure that this is not a click in blank space 
     622        if(strlen(fileWave[ii]) > 0 && ii < numpnts(fileWave))          //make sure that this is not a click in blank space 
    623623                err = LoadBT5File(fname,"RAW") 
    624624                if(err) 
     
    706706        endif            
    707707        //Print fname 
    708         if(strlen(fileWave[ii]) > 0)            //make sure that this is not a click in blank space 
     708        if(strlen(fileWave[ii]) > 0 && ii < numpnts(fileWave))          //make sure that this is not a click in blank space 
    709709                ReadBT5Header(fname) 
    710710        endif 
Note: See TracChangeset for help on using the changeset viewer.