Changeset 10419 for trunk/ippScripts/scripts/detrend_resid.pl
- Timestamp:
- Dec 3, 2006, 8:42:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_resid.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_resid.pl
r10321 r10419 85 85 my ($vol, $dir, $file) = File::Spec->splitpath( $input_uri ); 86 86 my $outputRoot = $exp_tag . '.detresid.' . $det_id . '.' . $iter; # Root name 87 $outputRoot = File::Spec->rel2abs( File::Spec->catpath( $vol, $dir, $outputRoot ), $ipprc->workdir() ); 88 $input_uri = File::Spec->rel2abs( $input_uri, $ipprc->workdir() ); 89 $detrend = File::Spec->rel2abs( $detrend, $ipprc->workdir() ); 87 $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 ); 90 91 91 92 my $outputName = $ipprc->filename("PPIMAGE.OUTPUT", $outputRoot, $class_id); … … 123 124 124 125 # Add the processed file to the database 125 $outputName = File::Spec->abs2rel ($outputName, $ipprc->workdir());126 $bin1Name = File::Spec->abs2rel( $bin1Name, $ipprc->workdir());127 $bin2Name = File::Spec->abs2rel( $bin2Name, $ipprc->workdir());126 $outputName = $ipprc->convert_filename ( $outputName ); 127 $bin1Name = $ipprc->convert_filename ( $bin1Name ); 128 $bin2Name = $ipprc->convert_filename ( $bin2Name ); 128 129 unless ($no_update) { 129 130 my $command = "$dettool -addresidimfile -det_id $det_id -iteration $iter -exp_tag $exp_tag " .
Note:
See TracChangeset
for help on using the changeset viewer.
