Changeset 8525


Ignore:
Timestamp:
05/17/07 13:47:42 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8524 r8525  
    3030   * scripts/processsequence:
    3131     - added -v5 to all commands
     32
     33   * datacenter/scripts/sourcefile:
     34     - adapted in function makedir if-clause to avoid removing of non
     35       existing files in case todofile is empty or todfile or lockfile is
     36       missing
     37
     38   * datacenter/scripts/runcallisto, datacenter/scripts/runganymed
     39     datacenter/scripts/runstar:
     40     - adapted comment (was still about old way to get from the database
     41       what has to be done)
    3242
    3343
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r8485 r8525  
    2727# This script is launching the calibration of sequences.
    2828#
    29 # In the case of calibration only one sequence is processed. Despite of
    30 # that the structure of the script is such, that also more sequences could
    31 # be processed. The restriction to one sequence has been made, as the
    32 # calibration takes some time. There's one todo file per sequence.
    33 # First the script searches for a todo file. Then the sequence from this
    34 # todo file is calibrated and the merpp update is done.
     29# As callisto takes some time, only one sequence is processed at once.
     30# First the script gets a sequence number from the database, for which
     31# the calibration has to be done (function gettodo). After setting the
     32# status in the database (set fStartTime to know, that the sequence is
     33# already being processed), the sequence is calibrated and the merpp
     34# update is done. Afterwards the status in the database is updated
     35# according to the return value of the program. In case one of the merpp
     36# update failes, also the corresponding runnumber is inserted into the
     37# database.
     38# The important INFOs, WARNings and ERRORs are written not only to the
     39# scriptlog but also to the processlog.
    3540#
    36 # the callisto.rc files are stored in the setup directory
     41# The callisto.rc files are stored in the setup directory
    3742#
    3843
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r8482 r8525  
    2727# This script is launching ganymed for datasets.
    2828#
    29 # In the case of ganymed only one dataset is processed. Despite of
    30 # that the structure of the script is such, that also more datasets could
    31 # be processed. The restriction to one dataset has been made, as ganymed
    32 # takes some time. There's one todo file per dataset.
    33 # First the script searches for a todo file. Then ganymed is run for the
    34 # dataset from this todo file.
     29# As ganymed takes some time, only one dataset is processed at once.
     30# First the script gets a dataset number from the database, for which
     31# ganymed has to be done (function gettodo). After setting the status in
     32# the database (set fStartTime to know, that the dataset is already being
     33# processed), the background suppression is done for the dataset.
     34# Afterwards the status in the database is updated according to the return
     35# value of ganymed.
     36# The important INFOs, WARNings and ERRORs are written not only to the
     37# scriptlog but also to the processlog.
    3538#
    36 # the ganymed.rc files are stored in the setup directory
     39# The ganymed.rc files are stored in the setup directory.
    3740#
    3841
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r8482 r8525  
    2525# ========================================================================
    2626#
    27 # This script is launching star for sequence.
     27# This script is launching star for sequences.
    2828#
    29 # In the case of star only one sequence is processed. Despite of
    30 # that the structure of the script is such, that also more sequences could
    31 # be processed. The restriction to one sequence has been made, as star
    32 # takes some time. There's one todo file per sequence.
    33 # First the script searches for a todo file. Then star is run for the
    34 # sequence from this todo file.
    35 #
    36 # the star.rc files are taken from the mars directory
     29# As star takes some time, only one sequence is processed at once.
     30# First the script gets a sequence number from the database, for which
     31# star has to be done (function gettodo). After setting the status in the
     32# database (set fStartTime to know, that the sequence is already being
     33# processed), the image parameters are calculated for the sequence.
     34# Afterwards the status in the database is updated according to the return
     35# value of star.
     36# The important INFOs, WARNings and ERRORs are written not only to the
     37# scriptlog but also to the processlog.
     38#
     39# The star.rc file is taken from the Mars directory.
    3740#
    3841
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r8482 r8525  
    5151      then
    5252         echo "could not make dir "$@
    53          rm -v $todofile
    54          rm -v $lockfile
     53         if ! [ "$todofile" = "" ] && ls $todofile >/dev/null 2>&1
     54         then
     55            rm -v $todofile
     56         fi
     57         if ls $lockfile >/dev/null 2>&1
     58         then
     59            rm -v $lockfile
     60         fi
    5561         date
    5662         exit
Note: See TracChangeset for help on using the changeset viewer.