IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2012, 4:07:34 PM (14 years ago)
Author:
bills
Message:

Minor postage stamp changes that have been running in production for awhile now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r33512 r33670  
    333333    my $skycenter = $row->{skycenter} = ! ($row->{COORD_MASK} & $PSTAMP_CENTER_IN_PIXELS);
    334334
    335     if (!$skycenter and !$component and $stage ne 'stack' and !($option_mask & $PSTAMP_USE_IMFILE_ID)){
     335    my $wholefile = 0;
     336    if (!$skycenter && $row->{CENTER_X} == 0 && $row->{CENTER_Y} == 0) {
     337        # Secret code for returning the whole file
     338        $wholefile = 1;
     339    }
     340
     341    if (!$skycenter and !$wholefile and !$component and $stage ne 'stack' and !($option_mask & $PSTAMP_USE_IMFILE_ID)){
    336342        print STDERR "COMPONENT must be specified for pixel coordinate ROI center\n";
    337343        insertFakeJobForRow($row, 1, $PSTAMP_INVALID_REQUEST);
Note: See TracChangeset for help on using the changeset viewer.