Changeset 12079 for trunk/ippScripts/scripts/detrend_process_exp.pl
- Timestamp:
- Feb 27, 2007, 10:13:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_process_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_exp.pl
r11837 r12079 116 116 $workdir = $ipprc->convert_filename_absolute( $workdir ); 117 117 } else { 118 my $example = ${$files}[0]->{ b1_uri}; # Example original root name118 my $example = ${$files}[0]->{path_base}; # Example original root name 119 119 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 120 120 $workdir = $dir; … … 131 131 open my $list2File, '>' . $list2Name; 132 132 foreach my $file (@$files) { 133 my $origRoot = $ipprc->convert_filename_absolute( $file->{ b1_uri} ); # Original root name133 my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name 134 134 print $list1File ($ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n"); 135 135 print $list2File ($ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n"); … … 172 172 # Add the result into the database 173 173 $outputRoot = $ipprc->convert_filename_relative( $outputRoot ); 174 $jpeg1 = $ipprc->convert_filename_relative( $jpeg1 ); 175 $jpeg2 = $ipprc->convert_filename_relative( $jpeg2 ); 174 176 175 unless ($no_update) { 177 176 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 " . 179 178 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run 180 179 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
