IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43088


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

return an error if the TESS_ID is missing if required (bycoord + warp,stack,diff)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/pstampparse.pl

    r43052 r43088  
    546546            return 0;
    547547        }
     548        if (($stage eq "warp") or ($stage eq "stack") or ($stage eq "diff")) {
     549            if (!defined $row->{TESS_ID} or (lc($row->{TESS_ID}) eq "null") or ($row->{TESS_ID} eq "")) {
     550                print STDERR "tess_id must be specified for bycoord request from warp, stack, or diff";
     551                insertFakeJobForRow($row, 1, $PSTAMP_INVALID_REQUEST);
     552                return 0;
     553            }
     554        }
    548555    }
    549556
Note: See TracChangeset for help on using the changeset viewer.