Ignore:
Timestamp:
09/05/21 07:13:17 (3 years ago)
Author:
maslowski
Message:
Added Telescope as command line parameter. And fixed some bugs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/processing/DiskToDB/run-root2sql2.sh

    r20103 r20104  
    2828
    2929# Path to the executable
    30 readonly ROOT2SQL="/home/frankm/Dateien/FACT++/build/root2sql"
     30readonly ROOT2SQL="/home/hawc/Desktop/FACT++/root2sql"
    3131readonly PROGRAM=${0}
    3232
     
    128128        fi
    129129
    130         mysql --defaults-file=${CRED} \
    131                 --compress \
    132                 -e "UPDATE DataOnDisk \
    133                 SET DataOnDisk.${col} = 6 \
    134                 WHERE DataOnDisk.Telescope = ${tel} \
    135                 AND DataOnDisk.NIGHT = ${night} \
    136                 AND DataOnDisk.calibration != 0;"
    137 
     130        # Set col to 3 if the file is a DRS run
    138131        mysql --defaults-file=${CRED} \
    139132                --compress \
Note: See TracChangeset for help on using the changeset viewer.