Last change
on this file since 16621 was 15389, checked in by Daniela Dorner, 12 years ago |
removed sourcekey
|
-
Property svn:executable
set to
*
|
File size:
810 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 |
|
---|
4 | source `dirname $0`/../Sourcefile.sh
|
---|
5 | printprocesslog "INFO starting $0"
|
---|
6 |
|
---|
7 | seqfile=$1
|
---|
8 | seqnum=`basename $seqfile | sed -e 's/[.]seq//g'`
|
---|
9 | #outpath=`dirname $seqfile | sed -e "s/sequences/${1}\/callisto/"`
|
---|
10 | outpath=`dirname $seqfile | sed -e "s/sequences/callisto/"`
|
---|
11 | makedir $outpath
|
---|
12 | logfile=$outpath"/"$seqnum"-calibration.log"
|
---|
13 |
|
---|
14 | cd $mars
|
---|
15 |
|
---|
16 | # run callisto
|
---|
17 | printprocesslog "INFO starting callisto6.C for sequence "$seqnum
|
---|
18 |
|
---|
19 | check1=`root -q -b fact/callisto6.C\("\"$seqfile\""\,"\"$outpath\""\) | tee $logfile | intgrep`
|
---|
20 |
|
---|
21 | case $check1 in
|
---|
22 | 0) printprocesslog "INFO callisto was successful for sequence "$seqnum" (check1=$check1)"
|
---|
23 | `dirname $0`/RunStar.sh $seqfile &
|
---|
24 | ;;
|
---|
25 | *) printprocesslog "ERROR callisto6.C failed for sequence "$seqnum" (check1=$check1)"
|
---|
26 | ;;
|
---|
27 | esac
|
---|
28 |
|
---|
29 | finish
|
---|
30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.