IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 14, 2009, 5:32:30 PM (17 years ago)
Author:
Paul Price
Message:

Make errors with a skycell non-fatal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_mops.pl

    r24192 r24193  
    1515use PS::IPP::Metadata::List qw( parse_md_list );
    1616use PS::IPP::Config qw( caturi );
     17use Carp qw( carp );
    1718
    1819# Look for programs we need
     
    137138
    138139        my $input = $ipprc->filename($sources, $path_base);
    139         die "Can't find $input\n" unless $ipprc->file_exists($input);
     140        (carp "Can't find $input\n" and next) unless $ipprc->file_exists($input);
    140141        $input = $ipprc->file_resolve($input);
    141142
     
    147148            my $command = "$mops --input $input --extname SkyChip.psf --output $output";
    148149            my $success = run( command => $command, verbose => $verbose );
    149             die "Couldn't translate $input\n" unless $success;
     150            (carp "Couldn't translate $input\n" and next) unless $success;
    150151        }
    151152
Note: See TracChangeset for help on using the changeset viewer.