IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24770


Ignore:
Timestamp:
Jul 12, 2009, 12:53:04 PM (17 years ago)
Author:
eugene
Message:

raise an error if the recipe is missing

File:
1 edited

Legend:

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

    r24764 r24770  
    7070# Recipes to use as a function of detrend type
    7171$reduction = "DETREND" unless defined $reduction;
    72 my $recipe = $ipprc->reduction($reduction, $det_type . '_STACK'); # Recipe name to use
     72my $recipe = $ipprc->reduction($reduction, $det_type . '_STACK') # Recipe name to use
     73    or &my_die("Failed to find recipe for $det_type", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR);
    7374
    7475# The output file rule name depends on the detrend type
Note: See TracChangeset for help on using the changeset viewer.