IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8490


Ignore:
Timestamp:
Aug 22, 2006, 4:20:25 PM (20 years ago)
Author:
Paul Price
Message:

Changing outputFile to outputName.

File:
1 edited

Legend:

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

    r8358 r8490  
    4242
    4343### Output file name --- must match camera configuration!
    44 my $outputFile = $output . "." . $classId . ".fit";
     44my $outputName = $output . "." . $classId . ".fit";
    4545
    4646# Run ppImage
     
    5151        run(command => $command, verbose => 1);
    5252    die "Unable to perform ppImage on $input: $error_code\n" if not $success;
    53     die "Couldn't find expected output file: $outputFile\n" if not -f $outputFile;
     53    die "Couldn't find expected output file: $outputName\n" if not -f $outputName;
    5454}
    5555
     
    5858{
    5959    my $statsFile;              # File handle
    60     open $statsFile, "$output.stats";
     60    open $statsFile, "$output.stats" or die "Can't open statistics file $output.stats: $!\n";
    6161    my @contents = <$statsFile>; # Contents of file
    6262    close $statsFile;
     
    7070{
    7171    my $command = "dettool -addprocessed -det_id $detId -exp_id $expId " .
    72         "-class_id $classId -recipe $recipe -uri $outputFile"; # Command to run dettool
     72        "-class_id $classId -recipe $recipe -uri $outputName"; # Command to run dettool
    7373    $command .= " -bg " . $stats->bg_mean();
    7474    $command .= " -bg_stdev " . $stats->bg_stdev();
Note: See TracChangeset for help on using the changeset viewer.