Changeset 15387 for trunk/DataCheck


Ignore:
Timestamp:
04/20/13 19:28:51 (12 years ago)
Author:
Daniela Dorner
Message:
removed sourcekey
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/ReDoStar.sh

    r15303 r15387  
    44printprocesslog "INFO starting $0"
    55
    6 root=/opt/root_svn/bin/thisroot.sh
    7 source $root
     6#root=/opt/root_svn/bin/thisroot.sh
     7#source $root
    88
    99anapath=/loc_data/analysis
     
    1212printprocesslog "INFO get list of calibrated files"
    1313
    14 calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` )
     14#calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` )
     15calfiles=( `find $anapath/callisto -type f -name '*_C.root' 2>/dev/null | sort` )
    1516if [ ${#calfiles[@]} -eq 0 ]
    1617then
     
    1819   finish
    1920fi
    20 starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` )
     21#starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` )
     22starfiles=( `find $anapath/star -type f -name '*_I.root' 2>/dev/null | sort` )
    2123if [ ${#starfiles[@]} -eq 0 ]
    2224then
     
    2527fi
    2628
     29echo ${#calfiles[@]}" "${#starfiles[@]}
     30printprocesslog "INFO #cal-files:"${#calfiles[@]}" #star-files:"${#starfiles[@]}
    2731
    2832if [ ${#starfiles[@]} -lt ${#calfiles[@]} ]
     
    3337      if ! ls $starfile >/dev/null 2>&1
    3438      then
     39         echo $starfile
    3540         echo $starfile" is missing -> reprocess. "
    36          source=`echo $starfile | cut -d/ -f4`
    37          seqfile="/loc_data/analysis/sequences/"`echo $starfile | cut -d/ -f6-8`"/"`echo $starfile | cut -d/ -f9 | cut -dI -f1 | sed -e 's/_//2'`".seq"
    38          #echo $source" "$seqfile
    39          `dirname $0`/RunStar.sh $source $seqfile
     41         #source=`echo $starfile | cut -d/ -f4`
     42         seqfile=`echo $starfile | sed -e 's/star/sequences/' -e 's/_I.root/.seq/'`
     43         echo $seqfile
     44         ##echo $source" "$seqfile
     45         #`dirname $0`/RunStar.sh $source $seqfile
     46         `dirname $0`/RunStar.sh $seqfile
    4047         if ! ls $starfile >/dev/null 2>&1
    4148         then
     
    4956
    5057
    51 
    52 
Note: See TracChangeset for help on using the changeset viewer.