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_norm_exp.pl

    r11837 r12079  
    118118    $workdir = $ipprc->convert_filename_absolute( $workdir );
    119119} else {
    120     my $example = ${$files}[0]->{b1_uri}; # Example file, for path
     120    my $example = ${$files}[0]->{path_base}; # Example file, for path
    121121    my ($vol, $dir, $file) = File::Spec->splitpath( $example );
    122122    $workdir = $dir;
     
    135135open my $list2File, '>' . $list2Name;
    136136foreach my $file (@$files) {
    137     my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name
     137    my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name
    138138    print $list1File ( $ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n");
    139139    print $list2File ( $ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n");
     
    167167
    168168# Add the result into the database
    169 $jpeg1Name = $ipprc->convert_filename_relative( $jpeg1Name );
    170 $jpeg2Name = $ipprc->convert_filename_relative( $jpeg2Name );
     169$outputRoot = $ipprc->convert_filename_relative( $outputRoot );
     170
    171171unless ($no_update) {
    172172    my $command = "$dettool -addnormalizedexp -det_id $det_id -iteration $iter " .
    173         "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot " .
     173        "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " .
    174174        "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run
    175175    $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.