IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2007, 10:13:31 AM (19 years ago)
Author:
Paul Price
Message:

Changing from b1_uri as the output root filename and path to path_base.

File:
1 edited

Legend:

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

    r11837 r12079  
    9696    $workdir = $ipprc->convert_filename_absolute( $workdir );
    9797} else {
    98     my $example = ${$files}[0]->{b1_uri}; # Example original root name
     98    my $example = ${$files}[0]->{path_base}; # Example original root name
    9999    my ($vol, $dir, $file) = File::Spec->splitpath( $example );
    100100    $workdir = $dir;
     
    114114open my $list2File, '>' . $list2Name;
    115115foreach my $file (@$files) {
    116     my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name
     116    my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name
    117117    print $list1File ($ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n");
    118118    print $list2File ($ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n");
     
    283283
    284284# Add the result into the database
    285 $jpeg1Name = $ipprc->convert_filename_relative( $jpeg1Name );
    286 $jpeg2Name = $ipprc->convert_filename_relative( $jpeg2Name );
     285$outputRoot = $ipprc->convert_filename_relative( $outputRoot );
    287286
    288287my $bg = $mean;
     
    292291unless ($no_update) {
    293292    my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_tag $exp_tag " .
    294         "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot "; # Command to run
     293        "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot "; # Command to run
    295294    $command .= " -bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev";
    296295    $command .= ' -reject' if $reject;
Note: See TracChangeset for help on using the changeset viewer.