IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32364


Ignore:
Timestamp:
Sep 7, 2011, 9:29:21 AM (15 years ago)
Author:
bills
Message:

check for fault == $PSTAMP_GONE even if the chip hasn't been set to update yet.

File:
1 edited

Legend:

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

    r30879 r32364  
    240240        my $state = $chip->{state};
    241241        my $data_state = $chip->{data_state};
     242        my $fault = $chip->{fault};
    242243        if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop') or
    243             ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/) or ($data_state eq 'drop')) {
    244 
    245             print "chipRun state is $chip->{chip_id} has state: $state data_state: $data_state cannot update\n";
     244            ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/) or ($data_state eq 'drop') or
     245            ($fault eq $PSTAMP_GONE)) {
     246
     247            print "chipRun state is $chip->{chip_id} has state: $state data_state: $data_state fault: $fault cannot update\n";
    246248            my $error_code;
    247249            if (($state eq 'error_cleaned') or ($data_state ='error_cleaned')) {
Note: See TracChangeset for help on using the changeset viewer.