IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2007, 1:09:39 PM (19 years ago)
Author:
Paul Price
Message:

Changing set_standard_args to employ a filtering approach --- it supplements the command-line instead of providing something that gets added on. Needed to do this because wanted the arguments it provides to be optional, and it really doesn't like to have a zero length string as an argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r12371 r12697  
    147147    book getword warpInputExp $pageName workdir -var WORKDIR
    148148    book getword warpInputExp $pageName dbname -var DBNAME
    149     set_standard_args
    150149
    151150    # specify choice of remote host
     
    169168    exec mkdir -p $outroot
    170169
    171     $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA $ARGS
     170    $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA
    172171    if ("$WORKDIR" != "NULL")
    173172      $run = $run --workdir $WORKDIR
    174173    end
     174    add_standard_args run
    175175
    176176    # save the pageName for future reference below
     
    270270    book getword warpPendingSkyCell $pageName workdir -var WORKDIR
    271271    book getword warpPendingSkyCell $pageName dbname -var DBNAME
    272     set_standard_args
    273272
    274273    # specify choice of remote host
     
    292291    exec mkdir -p $outroot
    293292
    294     $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA $ARGS
     293    $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA
    295294    if ("$WORKDIR" != "NULL")
    296295      $run = $run --workdir $WORKDIR
    297296    end
     297    add_standard_args run
    298298
    299299    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.