IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2006, 3:30:32 PM (20 years ago)
Author:
Paul Price
Message:

Adding verify mode

File:
1 edited

Legend:

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

    r10142 r10592  
    208208                my $detrend = $item->{det_uri};
    209209                my $uri = $item->{uri};
    210 
    211                 my $command = "$detrend_resid --det_id $det_id --iteration $iteration --exp_tag $exp_tag --class_id $class_id --det_type $det_type --detrend $detrend --camera $camera --input_uri $uri";
     210                my $mode = $item->{mode};
     211
     212                my $command = "$detrend_resid --det_id $det_id --iteration $iteration --exp_tag $exp_tag --class_id $class_id --det_type $det_type --camera $camera --input_uri $uri --mode $mode";
     213                $command .= " --detrend $detrend" if defined $detrend;
     214
    212215                my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    213216                    run( command => $command, verbose => 1 );
Note: See TracChangeset for help on using the changeset viewer.