- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/camera_exp.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/ippScripts/scripts/camera_exp.pl
r23352 r24244 171 171 print $list1File ($ipprc->filename("PPIMAGE.BIN1", $file->{path_base}, $class_id) . "\n"); 172 172 print $list2File ($ipprc->filename("PPIMAGE.BIN2", $file->{path_base}, $class_id) . "\n"); 173 print $list3File ($ ipprc->file_resolve($chipObjects, 0). "\n");174 print $list4File ($ ipprc->file_resolve($chipMask, 0). "\n");173 print $list3File ($chipObjects . "\n"); 174 print $list4File ($chipMask . "\n"); 175 175 } 176 176 close $list1File; … … 263 263 &my_die("Unable to perform psastro: $error_code", $cam_id, $error_code); 264 264 } 265 # XXX do we want to give an error if astrometry fails here? 266 &my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $ipprc->file_resolve($fpaObjects); 267 265 266 my $quality; # Quality flag 268 267 if ($do_stats) { 269 268 my $fpaStatsReal = $ipprc->file_resolve($fpaStats); … … 282 281 } 283 282 chomp $cmdflags; 283 284 ($quality) = $cmdflags =~ /-quality (\d+)/; 285 } 286 287 if (!$quality) { 288 &my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $ipprc->file_resolve($fpaObjects); 284 289 } 285 290 … … 375 380 $command .= " -addprocessedexp"; 376 381 $command .= " -uri UNKNOWN"; 377 $command .= " - code$exit_code";382 $command .= " -fault $exit_code"; 378 383 $command .= " -path_base $outroot"; 379 384 $command .= " -path_base $outroot" if defined $outroot; … … 381 386 } else { 382 387 $command .= " -updateprocessedexp"; 383 $command .= " - code$exit_code";388 $command .= " -fault $exit_code"; 384 389 } 385 390 $command .= " -hostname $host" if defined $host;
Note:
See TracChangeset
for help on using the changeset viewer.
