IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2010, 10:59:33 AM (16 years ago)
Author:
bills
Message:

When updating use the original path_base

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/stack.pro

    r27870 r27929  
    172172    book getword stackSumSkyfile $pageName skycell_id -var SKYCELL_ID
    173173    book getword stackSumSkyfile $pageName workdir -var WORKDIR_TEMPLATE
     174    book getword stackSumSkyfile $pageName path_base -var PATH_BASE
    174175    book getword stackSumSkyfile $pageName reduction -var REDUCTION
    175176    book getword stackSumSkyfile $pageName dbname -var DBNAME
     
    185186
    186187    basename $TESS_DIR -var TESS_ID
    187     sprintf outroot "%s/%s/%s/%s.%s.stk.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $STACK_ID
     188    if ("$PATH_BASE" == "NULL")
     189        sprintf outroot "%s/%s/%s/%s.%s.stk.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $STACK_ID
     190    else
     191        $outroot = $PATH_BASE
     192    end
    188193
    189194    stdout $LOGDIR/stack.skycell.log
Note: See TracChangeset for help on using the changeset viewer.