IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17578


Ignore:
Timestamp:
May 8, 2008, 11:02:10 AM (18 years ago)
Author:
eugene
Message:

fiddling with replicate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/replicate.pro

    r17531 r17578  
    5959  task.exit $EXIT_SUCCESS
    6060    # convert 'stdout' to book format
    61     ipptool2book stdout replicatePending -key neb_key -uniq -setword pantaskState INIT
     61    ipptool2book stdout replicatePending -key neb_id -uniq -setword pantaskState INIT
    6262    if ($VERBOSE > 2)
    6363      book listbook replicatePending
     
    9797
    9898    # XXX what values do I need to get back?
    99     book getword replicatePending $pageName exp_id       -var EXP_ID
    100     book getword replicatePending $pageName tmp_exp_name -var TMP_EXP_NAME
     99    book getword replicatePending $pageName neb_id       -var NEB_ID
     100    book getword replicatePending $pageName ncopies      -var NCOPIES
     101    book getword replicatePending $pageName neb_host     -var NEB_HOST
     102    book getword replicatePending $pageName target_host  -var TARGET_HOST
    101103
    102     ## generate output logfile name and convert URI to a PATH
    103     sprintf logfile "%s/%s/%s.%s.reg.log" $WORKDIR $EXP_TAG $EXP_TAG $TMP_CLASS_ID
    104     $logfile = `ipp_datapath.pl $logfile`
     104    stdout NULL
     105    stderr $LOGSUBDIR/replicate.log
    105106
    106     stdout $logfile
    107     stderr $logfile
    108     dirname $logfile -var outpath
    109     mkdir $outpath
    110 
    111     $run = replicate_object.pl --exp_id $EXP_ID --tmp_class_id $TMP_CLASS_ID --tmp_exp_name $TMP_EXP_NAME --uri $URI
    112     add_standard_args run
     107    # these operations do not require a database to be specified
     108    $run = replicate_object.pl --neb_id $NEB_ID --ncopies $NCOPIES --neb_host $NEB_HOST
    113109
    114110    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.