Changeset 18776 for trunk


Ignore:
Timestamp:
02/22/17 09:45:34 (8 years ago)
Author:
Daniela Dorner
Message:
bugfix (if filename is empty, function would complain)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillAuxData.sh

    r18770 r18776  
    166166      # get information from rawfile
    167167      rawfile=`ls $rawdir/$runnumber"_"\`printf %03d $filenum\`.fits* 2>/dev/null`
     168      if [ "$rawfile" = "" ]
     169      then
     170         if [ $runnumber -le $checknight ]
     171         then
     172            printprocesslog "WARN no raw file found for "$runnumber"_"`printf %03d $filenum`
     173         else
     174            printprocesslog "INFO no raw file found for "$runnumber"_"`printf %03d $filenum`
     175         fi
     176         continue
     177      fi
     178      # this check is obsolete
     179      #   find a way to check raw files also with general function
    168180      if ! check_file_avail $rawfile
    169181      then
Note: See TracChangeset for help on using the changeset viewer.