IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43086


Ignore:
Timestamp:
Sep 15, 2026, 5:30:48 PM (9 days ago)
Author:
eugene
Message:

raise an error is TESS_ID is missing if required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r41476 r43086  
    11511151       
    11521152    } else {
    1153         # this should have been checked elsewhere
    1154         die "unexpected image type $stage" if ($stage ne "warp")
    1155                                               and ($stage ne "stack") and ($stage ne "diff");
     1153        # this should have been checked elsewhere (PHP code or calling program)
     1154        die "unexpected image type $stage" if ($stage ne "warp") and ($stage ne "stack") and ($stage ne "diff");
     1155
     1156        # this should have also been checked elsewhere (PHP code)
     1157        die "missing TESS_ID for request by coordinates of warp, stack, or diff" unless (@tess_ids);
    11561158
    11571159        foreach my $tess_id (@tess_ids) {
Note: See TracChangeset for help on using the changeset viewer.