IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2006, 11:54:11 AM (20 years ago)
Author:
Paul Price
Message:

Adding -no-update option (bug 825).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_reject_imfile.pl

    r9004 r9091  
    1515use Pod::Usage qw( pod2usage );
    1616
    17 my ($det_id, $iter, $exp_id, $det_type);
     17my ($det_id, $iter, $exp_id, $det_type, $no_update);
    1818GetOptions(
    1919    'det_id|d=s'        => \$det_id,
     
    2121    'exp_id|e=s'        => \$exp_id,
    2222    'det_type|t=s'      => \$det_type,
     23    'no-update'         => \$no_update
    2324) or pod2usage( 2 );
    2425
     
    193194
    194195# Add the result into the database
    195 {
     196unless ($no_update) {
    196197    my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_id $exp_id " .
    197198        "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1Name -b2_uri $jpeg2Name " .
Note: See TracChangeset for help on using the changeset viewer.