IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39189 for trunk


Ignore:
Timestamp:
Nov 24, 2015, 11:30:25 AM (11 years ago)
Author:
bills
Message:

improve error message when camRun.state is cleaned

File:
1 edited

Legend:

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

    r39054 r39189  
    480480        # XXX: change tools to include cam_state (camRun.state). If it is not full the warp updates will never run.
    481481        my $cam_fault = $chip->{cam_fault};
    482         if (($chip->{camState} eq 'cleaned') or defined $cam_fault and $cam_fault > 0) {
     482        if ($chip->{camState} eq 'cleaned') {
     483            print STDERR "camRun for $warp_id skycell_id $skycell_id is cleaned so warp cannot be updated.\n";
     484            return $PSTAMP_GONE;
     485        }
     486        if (defined $cam_fault and $cam_fault > 0) {
    483487            print STDERR "camRun for $warp_id skycell_id $skycell_id is faulted: $cam_fault\n";
    484488            return $PSTAMP_GONE;
Note: See TracChangeset for help on using the changeset viewer.