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_process.pl

    r9090 r9091  
    1414use Pod::Usage qw( pod2usage );
    1515
    16 my ($det_id, $exp_id, $class, $class_id, $det_type, $input_uri, $output_uri);
     16my ($det_id, $exp_id, $class, $class_id, $det_type, $input_uri, $output_uri, $no_update);
    1717GetOptions(
    1818    'det_id|d=s'        => \$det_id,
     
    2222    'det_type|t=s'      => \$det_type,
    2323    'input_uri|u=s'     => \$input_uri,
     24    'no-update'         => \$no_update
    2425) or pod2usage( 2 );
    2526
     
    8586
    8687# Add the processed file to the database
    87 {
     88unless ($no_update) {
    8889    my $command = "$dettool -addprocessed -det_id $det_id -exp_id $exp_id " .
    8990        "-class_id $class_id -recip $recipe -uri $outputImage"; # Command to run dettool
Note: See TracChangeset for help on using the changeset viewer.