IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2013, 10:18:15 AM (13 years ago)
Author:
bills
Message:

fix error in checking state of inputs for stack-stack diffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_checkdependent.pl

    r35827 r35911  
    575575    } elsif ($diff_mode == $IPP_DIFF_MODE_STACK_STACK ) {
    576576        # check the state of the input stack
    577         my $command = "$stacktool -sumskyfile -stack_id $skycell->{stack2}";
     577        my $command = "$stacktool -sumskyfile -stack_id $skycell->{stack1}";
    578578        my $stack1 = runToolAndParseExpectOne($command, $verbose);
    579         my_die("failed to find stackSumSkyfile for stack_id $skycell->{stack2}", $PS_EXIT_UNKNOWN_ERROR) if !$stack1;
     579        my_die("failed to find stackSumSkyfile for stack_id $skycell->{stack1}", $PS_EXIT_UNKNOWN_ERROR) if !$stack1;
    580580
    581581        if ($stack1->{state} ne 'full') {
    582             print STDERR "input stack for diffRun $diff_id $skycell_id is not in full state faulting jobs\n";
     582            print STDERR "input stack $skycell->{stack1} for diffRun $diff_id $skycell_id is not in full state faulting jobs\n";
    583583            faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE);
    584584            return $PSTAMP_GONE;
     
    590590
    591591        if ($stack2->{state} ne 'full') {
    592             print STDERR "template stack for diffRun $diff_id $skycell_id is not in full state faulting jobs\n";
     592            print STDERR "template stack $skycell->{stack2} for diffRun $diff_id $skycell_id is not in full state faulting jobs\n";
    593593            faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE);
    594594            return $PSTAMP_GONE;
Note: See TracChangeset for help on using the changeset viewer.