IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29424


Ignore:
Timestamp:
Oct 14, 2010, 4:02:21 PM (16 years ago)
Author:
bills
Message:

Fix problem where incorrect error code was being returned if multiple skycells overlap coordinates
but the first one retured was not contained on the warp.

File:
1 edited

Legend:

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

    r29332 r29424  
    385385
    386386        next if $image->{fault};
    387         next if ($stage ne "raw") and $image->{quality};
     387        if (($stage ne "raw") and $image->{quality}) {
     388            print STDERR "Selected $stage image has bad quality. Skipping.\n";
     389            next;
     390        }
    388391
    389392        if ($base_name) {
     
    12221225                my $images = runToolAndParse($command, $verbose);
    12231226                if (!defined $images) {
    1224                     print "No components containing coordinates found for ${stage}_id $stage_id\n";
    1225                     foreach my $row (@$rowList) {
    1226                         # XXX: This doesn't seem like the correct error code?
    1227                         $row->{error_code} = $PSTAMP_NO_OVERLAP;
    1228                     }
     1227                    print "No  $c found for $stage ${stage}_id $stage_id\n";
    12291228                    next;
    12301229                }
Note: See TracChangeset for help on using the changeset viewer.