Changeset 38943 for trunk/ippScripts
- Timestamp:
- Oct 22, 2015, 2:23:44 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/addstar_run.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/addstar_run.pl
r38937 r38943 70 70 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 71 71 pod2usage( 72 -msg => "Required options: --add_id --camera --outroot --dvodb --stageroot --stage ",72 -msg => "Required options: --add_id --camera --outroot --dvodb --stageroot --stage --dbname", 73 73 -exitval => 3, 74 74 ) unless … … 78 78 defined $stageroot and 79 79 defined $dvodb and 80 defined $dbname and 80 81 defined $camera; 81 82 if ($stage =~ /cam/ && !defined $stage_id) { … … 309 310 310 311 unless ($no_op) { 311 print $dvodbReal;312 print "$dvodbReal\n"; 312 313 ## addstar can either save the full set of detections, or just 313 314 ## the image metadata, in the dvodb. this is set in the … … 338 339 339 340 if ($stage ne 'fullforce_summary') { 341 # print "IN ADDSTAR VERSION\n"; 340 342 # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default) 341 343 $command = "$addstar -update"; # XXX optionally set -update? … … 360 362 } 361 363 else { # Full force summary case 364 # print "IN LOADGALPHOT VERSION\n"; 362 365 # We need to know the filter to set up the photcode, as the summaries do not include that in the header. 363 366 # We /could/ set up the addtool stuff to pass that in to the script when needed, but that would require adding … … 368 371 { 369 372 my $ff_command = "$fftool -dbname ${dbname} -summary -ff_id ${stage_id}"; 373 print "$ff_command\n"; 370 374 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 371 run(command => $ command, verbose => $verbose);375 run(command => $ff_command, verbose => $verbose); 372 376 unless ($success) { 373 377 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
