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.process.pro

    r12670 r12697  
    144144    book getword detPendingProcessedImfile $pageName workdir  -var WORKDIR
    145145    book getword detPendingProcessedImfile $pageName dbname   -var DBNAME
    146     set_standard_args
    147146
    148147    # specify choice of remote host:
     
    165164    exec mkdir -p $outroot
    166165
    167     $run = detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA $ARGS
     166    $run = detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA
    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
     
    266266    book getword detPendingProcessedExp $pageName workdir   -var WORKDIR
    267267    book getword detPendingProcessedExp $pageName dbname    -var DBNAME
    268     set_standard_args
    269268
    270269    # specify choice of remote host:
     
    287286    exec mkdir -p $outroot
    288287
    289     $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS
     288    $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
    290289    if ("$WORKDIR" != "NULL")
    291290      $run = $run --workdir $WORKDIR
    292291    end
     292    add_standard_args run
    293293
    294294    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.