IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 20, 2012, 5:43:05 PM (14 years ago)
Author:
bills
Message:

Fix bug in bydiff requests where mutliple rows are processed at once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r32731 r33127  
    487487    my $command = "$difftool -dbname $imagedb -pstamp_order";
    488488   
    489     my $listrun = 0;
     489    my $choose_components = 0;
    490490    if ($byid) {
    491491        if ($skycell_id and ($skycell_id ne 'all')) {
    492492            $command .= " -diffskyfile -diff_id $id -skycell_id $skycell_id";
    493493        } else {
    494             $listrun = 1;
     494            $choose_components = 1;
    495495            $command .= " -listrun -diff_id $id";
    496496            # the following is a work around for the problem reported in ticket #1394
     
    512512
    513513    my $images;
    514     if ($listrun) {
     514    if ($choose_components) {
    515515        $images = selectComponents($ipprc, $imagedb, 'byid', 'diff', $rowList, $output, $verbose);
    516516    } else {
     
    603603            my @imageList = ($image);
    604604
    605             setRowRefs($rowList, \@imageList);
     605            setRowRefs($rowList, \@imageList) unless $choose_components;
    606606            # the $image is going to be returned directly in this case so we need to duplicate
    607607            # some of processing that lookup does for other img_types
Note: See TracChangeset for help on using the changeset viewer.