Ignore:
Timestamp:
04/23/07 19:58:21 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r8009 r8433  
    6767
    6868datasetfile="$datasetpath/$no/dataset$no2.txt"
    69 # get observation mode to choose ganymed.rc file
    70 wobble=`grep 'WobbleMode:' $datasetfile` >> $scriptlog 2>&1
    71 wobble2=`echo $wobble | grep ^\#` >> $scriptlog 2>&1
    72 if [ "$wobble2" = "" ]
     69# choose ganymed.rc file
     70if grep 'WobbleMode:' $datasetfile >/dev/null
    7371then
    74    mode="wobble" >> $scriptlog 2>&1
     72   ganymedrc=$setuppath/ganymed/ganymed_wobble.rc
    7573else
    76    mode="onoff" >> $scriptlog 2>&1
     74   ganymedrc=$setuppath/ganymed/ganymed_onoff.rc
    7775fi
    78 ganymedrc=$setuppath/ganymed/ganymed_$mode.rc
    7976
    8077setstatus "start" >> $scriptlog 2>&1
    8178
     79echo "./ganymed -b -q -v4 -f --ind=$datapath/star --ins=$sequpath --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile "  >> $scriptlog 2>&1
    8280./ganymed -b -q -v4 -f --ind=$datapath/star --ins=$sequpath --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile  2>> $scriptlog> /dev/null
    8381check1=$?
Note: See TracChangeset for help on using the changeset viewer.