Changeset 12079 for trunk/ippScripts/scripts/camera_exp.pl
- Timestamp:
- Feb 27, 2007, 10:13:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r12021 r12079 125 125 $workdir = $ipprc->convert_filename_absolute( $workdir ); 126 126 } else { 127 my $example = ${$files}[0]->{ b1_uri}; # Example original root name127 my $example = ${$files}[0]->{path_base}; # Example original root name 128 128 my ($vol, $dir, $file) = File::Spec->splitpath( $ipprc->convert_filename_absolute( $example ) ); 129 129 $workdir = $dir; … … 151 151 my $chipObjects; 152 152 foreach my $file (@$files) { 153 # use the b1_uri as OUTPUT root and convert the filenames 154 # with ipprc->filename: 153 # use the path_base as OUTPUT root and convert the filenames with ipprc->filename: 155 154 my $class_id = $file->{class_id}; 156 my $origRoot = $ipprc->convert_filename_absolute( $file->{ b1_uri} ); # Original root name155 my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name 157 156 158 157 # if there is only one chip, we use this name for the input to addstar … … 230 229 # XXX keep the same outroot as the input 231 230 # Add the result into the database 232 $outputRoot = $ipprc->convert_filename_relative($outputRoot); 233 $jpeg1 = $ipprc->convert_filename_relative($jpeg1); 234 $jpeg2 = $ipprc->convert_filename_relative($jpeg2); 231 $outputRoot = $ipprc->convert_filename_relative( $outputRoot ); 235 232 236 233 unless ($no_update) { 237 234 my $command = "$camtool -addprocessedexp -exp_tag $exp_tag -uri UNKNOWN " . 238 "-recip " . RECIPE1() . "," . RECIPE2() . " - b1_uri$outputRoot " .235 "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " . 239 236 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " . 240 237 "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run
Note:
See TracChangeset
for help on using the changeset viewer.
