IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2011, 1:38:20 PM (15 years ago)
Author:
watersc1
Message:

If we are processing ($is_processing == 1), then we must continue to try to diff ($metadata_out{nsDiffState} = "DIFFING"). I had this logic backwards.

File:
1 edited

Legend:

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

    r30293 r30390  
    4444my ( $date, $datetime, $camera, $dbname, $logfile, $verbose, $manual);
    4545my ( $help, $isburning, $force_stack_count, $force_diff_count, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode);
    46 my ( $registration_status, $burntool_status, $observing_status);
     46my ( $registration_status, $burntool_status, $observing_status, $old_date);
    4747my ( $check_registration, $define_burntool, $queue_burntool, $check_chips, $queue_chips);
    4848my ( $check_stacks, $queue_stacks, $check_sweetspot, $queue_sweetspot, $check_diffs, $queue_diffs, $clean_old);
     
    6666    'registraion_status'   => \$registration_status,
    6767    'burntool_status'      => \$burntool_status,
     68    'old_date=s'           => \$old_date,
    6869    'check_stacks'         => \$check_stacks,
    6970    'queue_stacks'         => \$queue_stacks,
     
    13511352        }
    13521353    }
     1354    if ($debug == 1) {
     1355        print "$metadata_out{nsObservingState} $metadata_out{nsDiffPotential} $metadata_out{nsDiffQueued} $is_processing $is_registering\n";
     1356    }
     1357
    13531358    if ($metadata_out{nsObservingState} eq 'END_OF_NIGHT') {
    1354         if ($is_processing == 0) {
     1359        if ($is_processing == 1) {
    13551360            $metadata_out{nsDiffState} = 'DIFFING';
    13561361        }
     
    14691474            if (verify_uniqueness_diff($input_warp_id,$template_warp_id,$date,$target) != 0) {
    14701475                $Nqueued++;
    1471                 print STDERR "Diffs already queued for this $date $target $input_exp_id $template_exp_id\n";
     1476                print STDERR "Diffs already queued for this $date $target $input_exp_id $template_exp_id ($input_warp_id $template_warp_id) $this_object $input_comment\n";
    14721477                next;
    14731478            }
Note: See TracChangeset for help on using the changeset viewer.