IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2006, 12:56:06 PM (19 years ago)
Author:
Paul Price
Message:

Convert back to relative paths when putting filenames into the database.

File:
1 edited

Legend:

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

    r10419 r10534  
    8686my $outputRoot = $exp_tag . '.detresid.' . $det_id . '.' . $iter; # Root name
    8787$outputRoot = File::Spec->catpath( $vol, $dir, $outputRoot );
    88 $outputRoot = $ipprc->convert_filename ( $outputRoot );
    89 $input_uri = $ipprc->convert_filename ( $input_uri );
    90 $detrend = $ipprc->convert_filename ( $detrend );
     88$outputRoot = $ipprc->convert_filename_absolute( $outputRoot );
     89$input_uri = $ipprc->convert_filename_absolute( $input_uri );
     90$detrend = $ipprc->convert_filename_absolute( $detrend );
    9191
    9292my $outputName = $ipprc->filename("PPIMAGE.OUTPUT", $outputRoot, $class_id);
     
    124124
    125125# Add the processed file to the database
    126 $outputName = $ipprc->convert_filename ( $outputName );
    127 $bin1Name = $ipprc->convert_filename ( $bin1Name );
    128 $bin2Name = $ipprc->convert_filename ( $bin2Name );
     126$outputName = $ipprc->convert_filename_relative( $outputName );
     127$bin1Name = $ipprc->convert_filename_relative( $bin1Name );
     128$bin2Name = $ipprc->convert_filename_relative( $bin2Name );
    129129unless ($no_update) {
    130130    my $command = "$dettool -addresidimfile -det_id $det_id -iteration $iter -exp_tag $exp_tag " .
Note: See TracChangeset for help on using the changeset viewer.