IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28069


Ignore:
Timestamp:
May 21, 2010, 12:27:09 PM (16 years ago)
Author:
bills
Message:

if astrometry file fails to resolve set error to PSTAMP_NOT_AVAILABLE

File:
1 edited

Legend:

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

    r28043 r28069  
    11161116                $astrom_file = $run->{cam_path_base} . ".smf";
    11171117                my $astrom_file_resolved = $ipprc->file_resolve($astrom_file);
     1118                if (!$astrom_file_resolved) {
     1119                    print STDERR "cannot resolve astrometry file: $astrom_file\n";
     1120                    setErrorCodes($rowList, $PSTAMP_NOT_AVAILABLE);
     1121                    next;
     1122                }
    11181123                $command .= " -astrom $astrom_file_resolved";
    11191124            } else {
Note: See TracChangeset for help on using the changeset viewer.