IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27783


Ignore:
Timestamp:
Apr 27, 2010, 11:37:45 AM (16 years ago)
Author:
bills
Message:

make default for requests to be wait for cleaned up inputs to be updated

Location:
trunk
Files:
3 edited

Legend:

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

    r27751 r27783  
    3232use POSIX;
    3333
     34my $dvo_verbose = 0;
    3435my $save_temps = 0;
    3536
     
    693694        my $command = "$dvoImagesAtCoords -astrom $astrom_resolved $ra $dec";
    694695        # run the tool and parse the output
    695         my $dvo_verbose = 0;
    696696        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    697697                    run(command => $command, verbose => $dvo_verbose);
     
    10731073            }
    10741074            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    1075                  run(command => $command, verbose => $verbose);
     1075                 run(command => $command, verbose => $dvo_verbose);
    10761076            unless ($success) {
    10771077                # don't fail if the program exited normally and exit status was PSTAMP_NO_OVERLAP
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/RequestFile.pm

    r27589 r27783  
    2929                    $PSTAMP_SELECT_UNCONV
    3030                    $PSTAMP_USE_IMFILE_ID
    31                     $PSTAMP_WAIT_FOR_UPDATE
     31                    $PSTAMP_NO_WAIT_FOR_UPDATE
    3232                    $PSTAMP_SUCCESS
    3333                    $PSTAMP_SYSTEM_ERROR
     
    6363our $PSTAMP_USE_IMFILE_ID    = 16384;
    6464
    65 our $PSTAMP_WAIT_FOR_UPDATE  = 32768;
     65our $PSTAMP_NO_WAIT_FOR_UPDATE  = 32768;
    6666
    6767# job and result codes
  • trunk/pstamp/scripts/pstampparse.pl

    r27751 r27783  
    558558            }
    559559            if (!$fault) {
    560                 # don't wait for update unless the caller asks us to
    561                 if (!($option_mask & $PSTAMP_WAIT_FOR_UPDATE)) {
     560                # wait for update unless the customer asks us not to
     561                if (($option_mask & $PSTAMP_NO_WAIT_FOR_UPDATE)) {
    562562                    $newState = 'stop';
    563563                    $fault = $PSTAMP_NOT_AVAILABLE;
     
    724724                $fault = $PSTAMP_GONE;
    725725            } elsif (($data_state ne 'full') or ($need_magic and ($image->{magicked} < 0))) {
    726                 # don't wait for update unless the caller asks us to
    727                 if (!($option_mask & $PSTAMP_WAIT_FOR_UPDATE)) {
     726                # wait for update unless the customer asks us to not to
     727                if ($option_mask & $PSTAMP_NO_WAIT_FOR_UPDATE) {
    728728                    $newState = 'stop';
    729729                    $fault = $PSTAMP_NOT_AVAILABLE;
Note: See TracChangeset for help on using the changeset viewer.