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/chip_imfile.pl

    r13698 r13748  
    2828use Pod::Usage qw( pod2usage );
    2929
    30 use constant RECIPE => 'PPIMAGE_OBDSFRA'; # Recipe to use
     30my $RECIPE = 'PPIMAGE_OBDSFRA'; # Recipe to use
    3131
    3232# Parse the command-line arguments
     
    9595    print "outputStats: $outputStats\n";
    9696
    97     my $command = "$ppImage -file $input $outputRoot -recipe PPIMAGE " . RECIPE .
    98         " -stat $outputStats"; # Command to run ppImage
     97    my $command = "$ppImage -file $input $outputRoot";
     98    $command .= " -recipe PPIMAGE $RECIPE";
     99    $command .= " -recipe PPSTATS CHIPSTATS";
     100    $command .= " -stats $outputStats"; # Command to run ppImage
     101
    99102    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    100103        run(command => $command, verbose => 1);
     
    103106        &my_die("Unable to perform ppImage: $error_code", $chip_id, $class_id, $error_code);
    104107    }
     108
    105109    &my_die("Couldn't find expected output file: $outputImage\n", $chip_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputImage);
    106110    &my_die("Couldn't find expected output file: $outputMask\n", $chip_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
Note: See TracChangeset for help on using the changeset viewer.