IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28826


Ignore:
Timestamp:
Aug 2, 2010, 11:10:43 AM (16 years ago)
Author:
watersc1
Message:

Burntool statistics code implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/automate_stacks.pl

    r28666 r28826  
    4141# Grab options
    4242my ( $date, $camera, $dbname, $logfile, $verbose, $manual);
    43 my ( $help, $isburning, $force_stack_count, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode);
     43my ( $help, $isburning, $force_stack_count, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode, $burntool_stats);
    4444my ( $check_registration, $define_burntool, $queue_burntool, $check_chips, $queue_chips);
    4545my ( $check_stacks, $queue_stacks, $check_diffs, $queue_diffs, $clean_old);
     
    5858    'check'                => \$check_mode,
    5959    'test_mode'            => \$test_mode,
     60    'burntool_stats'       => \$burntool_stats,
    6061    'this_target_only=s'   => \$this_target_only,
    6162    'this_filter_only=s'   => \$this_filter_only,
     
    656657    my $pretend = shift;
    657658    my $exposures = 0;
     659
    658660    foreach my $target (@target_list) {
    659661        my ($Nexposures,$Nimfiles,$Nburntooled,$Nalready) = pre_chip_queue($date,$target);
     662        if (defined($burntool_stats)) {
     663            print "$Nexposures $Nimfiles $Nburntooled $Nalready\n";
     664        }
     665
    660666        if ($Nexposures == 0) {
    661667            print STDERR "execute_chips: Target $target on $date had no exposures.\n";
Note: See TracChangeset for help on using the changeset viewer.