IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8856


Ignore:
Timestamp:
Sep 19, 2006, 6:16:06 PM (20 years ago)
Author:
Paul Price
Message:

Let the user specify the file explicitly

File:
1 edited

Legend:

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

    r8853 r8856  
    2828my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
    2929
    30 my $outName = $output . '.' . $classId . '.fit'; # Output file name
    31 
    3230# Run ppArith
    3331my $norms;
     
    3735        run(command => $command, verbose => 1);
    3836    die "Unable to perform ppArith: $error_code\n" if not $success;
    39     die "Can't find expected output file: $outName\n" if not -e $outName;
     37    die "Can't find expected output file: $output\n" if not -e $output;
    4038}
    4139
     
    4442{
    4543    my $command = "$dettool -addnormalizedimfile -det_id $detId -iteration $iter -class_id $classId ".
    46         "-uri $outName"; # Command to run
     44        "-uri $output"; # Command to run
    4745    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    4846        run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.