IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19616


Ignore:
Timestamp:
Sep 19, 2008, 10:27:15 AM (18 years ago)
Author:
eugene
Message:

verify and master now processed in the same way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080918/ippScripts/scripts/detrend_resid_imfile.pl

    r19609 r19616  
    6464    defined $mode       and
    6565    defined $outroot    and
    66     (defined $detrend or lc($mode) eq 'verify');
     66    defined $detrend;
    6767
    6868$ipprc->define_camera($camera);
     
    7373
    7474# Recipes to use as a function of detrend type and mode
     75# XXX probably can drop the distinct 'verify' recipes
    7576$reduction = 'DETREND' unless defined $reduction;
    7677my $recipe;                     # Name of recipe to use
     
    173174
    174175    # Detrend to use in processing
    175     if (lc($mode) ne 'verify') {
    176         my $detFlag = DETRENDS->{lc($det_type)};
    177         &my_die("Unrecognised detrend type: $det_type", $det_id, $iter, $exp_id, $class_id, $PS_EXIT_PROG_ERROR) unless defined $detFlag;
    178         $command .= " $detFlag $detrend";
    179     }
     176    my $detFlag = DETRENDS->{lc($det_type)};
     177    &my_die("Unrecognised detrend type: $det_type", $det_id, $iter, $exp_id, $class_id, $PS_EXIT_PROG_ERROR) unless defined $detFlag;
     178    $command .= " $detFlag $detrend";
    180179
    181180    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.