Changeset 15387
- Timestamp:
- 04/20/13 19:28:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/ReDoStar.sh
r15303 r15387 4 4 printprocesslog "INFO starting $0" 5 5 6 root=/opt/root_svn/bin/thisroot.sh7 source $root6 #root=/opt/root_svn/bin/thisroot.sh 7 #source $root 8 8 9 9 anapath=/loc_data/analysis … … 12 12 printprocesslog "INFO get list of calibrated files" 13 13 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` ) 15 calfiles=( `find $anapath/callisto -type f -name '*_C.root' 2>/dev/null | sort` ) 15 16 if [ ${#calfiles[@]} -eq 0 ] 16 17 then … … 18 19 finish 19 20 fi 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` ) 22 starfiles=( `find $anapath/star -type f -name '*_I.root' 2>/dev/null | sort` ) 21 23 if [ ${#starfiles[@]} -eq 0 ] 22 24 then … … 25 27 fi 26 28 29 echo ${#calfiles[@]}" "${#starfiles[@]} 30 printprocesslog "INFO #cal-files:"${#calfiles[@]}" #star-files:"${#starfiles[@]} 27 31 28 32 if [ ${#starfiles[@]} -lt ${#calfiles[@]} ] … … 33 37 if ! ls $starfile >/dev/null 2>&1 34 38 then 39 echo $starfile 35 40 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 40 47 if ! ls $starfile >/dev/null 2>&1 41 48 then … … 49 56 50 57 51 52
Note:
See TracChangeset
for help on using the changeset viewer.