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

    r11837 r12079  
    116116    $workdir = $ipprc->convert_filename_absolute( $workdir );
    117117} else {
    118     my $example = ${$files}[0]->{b1_uri}; # Example original root name
     118    my $example = ${$files}[0]->{path_base}; # Example original root name
    119119    my ($vol, $dir, $file) = File::Spec->splitpath( $example );
    120120    $workdir = $dir;
     
    131131open my $list2File, '>' . $list2Name;
    132132foreach my $file (@$files) {
    133     my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name
     133    my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name
    134134    print $list1File ($ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n");
    135135    print $list2File ($ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n");
     
    172172# Add the result into the database
    173173$outputRoot = $ipprc->convert_filename_relative( $outputRoot );
    174 $jpeg1  = $ipprc->convert_filename_relative( $jpeg1 );
    175 $jpeg2  = $ipprc->convert_filename_relative( $jpeg2 );
     174
    176175unless ($no_update) {
    177176    my $command = "$dettool -addprocessedexp -det_id $det_id -exp_tag $exp_tag " .
    178         "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot " .
     177        "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " .
    179178        "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run
    180179    $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.