Ignore:
Timestamp:
09/06/13 18:09:38 (11 years ago)
Author:
Daniela Dorner
Message:
bugfix (doupdate=no was ignored)
File:
1 edited

Legend:

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

    r17095 r17117  
    103103   # get all night
    104104   #getdates "all"
    105    # get last 6 nights if time between 7 and 19h
    106    getdates 6 7 19
     105   # get last 3 nights if hour between 7 and 19h, else only current night
     106   getdates 3 7 19
    107107fi
    108108
     
    128128   #   but only for not-corrupted files
    129129   query="SELECT fRunID from RunInfo WHERE fNight="$runnumber" AND fFitsFileErrors=0 "
     130   # only runs which are not yet filled
     131   if [ "$doupdate" = "no" ]
     132   then
     133      query=$query" AND ISNULL(fRightAscension) "
     134   fi
    130135   printprocesslog "DEBUG get filenumbers from DB: QUERY: "$query
    131136   filenumbers=( `sendquery $query` )
Note: See TracChangeset for help on using the changeset viewer.