IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2010, 1:18:48 PM (16 years ago)
Author:
watersc1
Message:

These are the versions I'm using for my final automatic queueing test this week. If everything works correctly on wed/thur/fri, I'll call them finished.

File:
1 edited

Legend:

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

    r26620 r26624  
    156156}
    157157if (defined($check_stacks)) {
    158     $metadata_out{nsState} = 'QUEUESTACKS';
     158    $metadata_out{nsState} = 'TOWARP';
    159159    &execute_stacks($date,"pretend");
     160    if ($metadata_out{nsState} eq 'FORCETOWARP') {
     161        $metadata_out{nsState} = 'TOWARP';
     162    }
    160163    return_metadata($date);
    161164    exit(0);
     
    524527        foreach my $filter (@filter_list) {
    525528            my ($Nexposures,$NprocChips,$NprocWarps,$Nalready) = pre_stack_queue($date,$target,$filter);
    526             if (($NprocChips != $NprocWarps)||($NprocWarps == 0)||($NprocChips == 0)) {
     529            if (($NprocChips != $NprocWarps)) { #||($NprocWarps == 0)||($NprocChips == 0)) {
    527530                print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n";
    528                 $metadata_out{nsState} = 'TOWARP';
     531                $metadata_out{nsState} = 'FORCETOWARP';
    529532                next;
    530533            }
     
    537540                next;
    538541            }
     542            unless ($metadata_out{nsState} eq 'FORCETOWARP') {
     543                $metadata_out{nsState} = 'QUEUESTACKS';
     544            }
    539545            unless(defined($pretend)) {
    540546                print STDERR "execute_stacks: Target $target in filter $filter on $date has exposures and will be queued.\n";
     
    545551   
    546552}
    547            
     553
    548554# Utilities
    549555
Note: See TracChangeset for help on using the changeset viewer.