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/detrend.resid.pro

    r12371 r12697  
    144144    book getword detPendingResidImfile $pageName workdir   -var WORKDIR
    145145    book getword detPendingResidImfile $pageName dbname    -var DBNAME
    146     set_standard_args
    147146
    148147    # specify choice of remote host:
     
    165164    exec mkdir -p $outroot
    166165
    167     $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE $ARGS
     166    $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE
    168167    if ("$WORKDIR" != "NULL")
    169168      $run = $run --workdir $WORKDIR
    170169    end
     170    add_standard_args run
    171171
    172172    # save the pageName for future reference below
     
    267267    book getword detPendingResidExp $pageName workdir   -var WORKDIR
    268268    book getword detPendingResidExp $pageName dbname    -var DBNAME
    269     set_standard_args
    270269
    271270    # specify choice of remote host:
     
    288287    exec mkdir -p $outroot
    289288
    290     $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS
     289    $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
    291290    if ("$WORKDIR" != "NULL")
    292291      $run = $run --workdir $WORKDIR
    293292    end
     293    add_standard_args run
    294294
    295295    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.