IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2007, 2:39:18 PM (19 years ago)
Author:
eugene
Message:

require valid recipe for requested reduction

File:
1 edited

Legend:

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

    r14115 r14141  
    6363$reduction = 'DEFAULT' unless defined $reduction;
    6464my $recipe = $ipprc->reduction($reduction, 'CHIP'); # Recipe to use
     65unless ($recipe) {
     66    &my_die("Couldn't find selected reduction for CHIP: $reduction\n", $chip_id, $class_id, $PS_EXIT_SYS_ERROR);
     67}
    6568
    6669# values to extract from output metadata and the stats to calculate
Note: See TracChangeset for help on using the changeset viewer.