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

    r12371 r12697  
    155155    book getword detPendingNormStatImfile $pageName workdir   -var WORKDIR
    156156    book getword detPendingNormStatImfile $pageName dbname    -var DBNAME
    157     set_standard_args
    158157
    159158    # specify choice of remote host:
     
    175174    exec mkdir -p $outroot
    176175
    177     $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS
     176    $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE
    178177    if ("$WORKDIR" != "NULL")
    179178      $run = $run --workdir $WORKDIR
    180179    end
     180    add_standard_args run
    181181
    182182    # save the pageName for future reference below
     
    277277    book getword detPendingNormImfile $pageName workdir   -var WORKDIR
    278278    book getword detPendingNormImfile $pageName dbname    -var DBNAME
    279     set_standard_args
    280279
    281280    # specify choice of remote host:
     
    298297    exec mkdir -p $outroot
    299298
    300     $run = detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE $ARGS
     299    $run = detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE
    301300    if ("$WORKDIR" != "NULL")
    302301      $run = $run --workdir $WORKDIR
    303302    end
     303    add_standard_args run
    304304   
    305305    # save the pageName for future reference below
     
    397397    book getword detPendingNormExp $pageName workdir   -var WORKDIR
    398398    book getword detPendingNormExp $pageName dbname    -var DBNAME
    399     set_standard_args
    400399
    401400    # specify choice of remote host:
     
    418417    exec mkdir -p $outroot
    419418
    420     $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE  $ARGS
     419    $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE
    421420    if ("$WORKDIR" != "NULL")
    422421      $run = $run --workdir $WORKDIR
    423422    end
     423    add_standard_args run
    424424
    425425    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.