IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2007, 10:13:50 AM (19 years ago)
Author:
eugene
Message:

require recipe for ppStats in scripts

File:
1 edited

Legend:

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

    r13732 r13748  
    7070
    7171
    72 use constant RECIPE => 'PPIMAGE_N'; # Recipe to use with ppImage
     72my $RECIPE_PPIMAGE = 'PPIMAGE_N'; # Recipe to use with ppImage
     73my $RECIPE_PPSTATS = 'CHIPSTATS'; # Recipe to use with ppStats
    7374
    7475# Look for programs we need
     
    9394my $stats = PS::IPP::Metadata::Stats->new(); # Stats parser
    9495unless ($no_op) {
    95     my $command = "$ppImage -file $input $outputRoot -norm $value -stat $statsName -recipe PPIMAGE " . RECIPE(); # Command to run
     96    my $command = "$ppImage -file $input $outputRoot";
     97    $command .= " -norm $value -stats $statsName";
     98    $command .= " -recipe PPIMAGE $RECIPE_PPIMAGE";
     99    $command .= " -recipe PPSTATS $RECIPE_PPSTATS";
    96100    $command .= ' -isfringe' if lc($det_type) eq 'fringe';
     101
    97102    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    98103        run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.