Changeset 10419 for trunk/ippScripts/scripts/phase3.pl
- Timestamp:
- Dec 3, 2006, 8:42:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase3.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase3.pl
r9892 r10419 97 97 # Generate the file list, and get the statistics 98 98 my $outputRoot = $exp_tag . '.p3'; # Root output name 99 $outputRoot = File::Spec->rel2abs( File::Spec->catpath( $vol, $dir, $outputRoot ), $ipprc->workdir() ); 99 $outputRoot = File::Spec->catpath( $vol, $dir, $outputRoot ); 100 $outputRoot = $ipprc->convert_filename ($outputRoot); 100 101 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1 101 102 my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2 … … 105 106 open my $list2File, '>' . $list2Name; 106 107 foreach my $file (@$files) { 107 print $list1File ( File::Spec->rel2abs( $file->{b1_uri}, $ipprc->workdir()) . "\n");108 print $list2File ( File::Spec->rel2abs( $file->{b2_uri}, $ipprc->workdir()) . "\n");108 print $list1File ($ipprc->convert_filename ($file->{b1_uri}) . "\n"); 109 print $list2File ($ipprc->convert_filename ($file->{b2_uri}) . "\n"); 109 110 push @means, $file->{bg}; 110 111 push @stdevs, $file->{bg_stdev}; … … 135 136 136 137 # Add the result into the database 137 $outputRoot = File::Spec->abs2rel( $outputRoot, $ipprc->workdir());138 $jpeg1 = File::Spec->abs2rel( $jpeg1, $ipprc->workdir());139 $jpeg2 = File::Spec->abs2rel( $jpeg2, $ipprc->workdir());138 $outputRoot = $ipprc->convert_filename ($outputRoot); 139 $jpeg1 = $ipprc->convert_filename ($jpeg1); 140 $jpeg2 = $ipprc->convert_filename ($jpeg2); 140 141 unless ($no_update) { 141 142 my $command = "$p3tool -addprocessedexp -exp_tag $exp_tag -uri UNKNOWN " .
Note:
See TracChangeset
for help on using the changeset viewer.
