IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42045


Ignore:
Timestamp:
Feb 17, 2022, 12:51:59 PM (4 years ago)
Author:
ippitc
Message:

merge add set imagedb to properly send to queue_update_run (IPP-1603)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20170121/pstamp/scripts/dqueryparse.pl

    r41441 r42045  
    385385                    ($query{$fpa_id}{STATE}[$valid_index] eq 'drop') or
    386386                    ($query{$fpa_id}{STATE}[$valid_index] eq 'error_cleaned') or
     387                    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or
    387388                    ($query{$fpa_id}{STATE}[$valid_index] eq 'goto_scrubbed') or
    388389                    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'scrubbed')) {
     
    390391                    # image is gone and it's not coming back
    391392                    $query{$fpa_id}{FAULT}[$valid_index] = $PSTAMP_GONE;
     393                    ## MEH why was this missing? should be added to other FAULT cases...
     394                    ## messes with row order, skipping the faulted rows on output, unclear if problem since happens in other cases too
     395                    $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1;
    392396                }
    393397                elsif ($need_magic and ($query{$fpa_id}{MAGICKED}[$valid_index] eq 0)) {
     
    444448            my $stage_id = $query{$fpa_id}{STAGE_ID}[$i];
    445449            my $component = $query{$fpa_id}{COMPONENT_ID}[$i];
     450            my $imagedb = $query{$fpa_id}{IMAGE_DB}[$i];
    446451            print "Need to UPDATE $stage $stage_id $component from $data_state\n";
    447452            $dep_id = queue_update_run($req_id, $outdir, $label, $data_state, $stage, $stage_id, $component, 0, $imagedb);
Note: See TracChangeset for help on using the changeset viewer.