IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2010, 4:05:11 PM (16 years ago)
Author:
bills
Message:

when doing diff updates, use existing path_base

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/diff.pro

    r27472 r27920  
    184184    book getword diffSkyfile $pageName reduction -var REDUCTION
    185185    book getword diffSkyfile $pageName diff_mode -var DIFF_MODE
     186    book getword diffSkyfile $pageName path_base -var PATH_BASE
    186187
    187188    # set the host and workdir based on the skycell hash
     
    207208
    208209    basename $TESS_DIR -var TESS_ID
    209     sprintf outroot "%s/%s/%s/%s.%s.%sdif.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_TAG $DIFF_ID
     210
     211    if ("$PATH_BASE" == "NULL")
     212        sprintf outroot "%s/%s/%s/%s.%s.%sdif.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_TAG $DIFF_ID
     213    else
     214        $outroot = $PATH_BASE
     215    end
    210216
    211217    stdout $LOGDIR/diff.skycell.log
Note: See TracChangeset for help on using the changeset viewer.