IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 30, 2006, 3:43:18 PM (20 years ago)
Author:
jhoblitt
Message:

check the return result of PS::IPP::Metadata::Config->parse()

File:
1 edited

Legend:

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

    r8609 r8715  
    9191    close $statsFile;
    9292    my $mdcParser = PS::IPP::Metadata::Config->new;     # Parser for metadata config files
    93     my $metadata = $mdcParser->parse(join "", @contents); # Metadata from the stats
     93    my $metadata = $mdcParser->parse(join "", @contents)
     94        or die "unable to parse metadata config doc";
    9495    $stats = PS::IPP::Metadata::Stats->new(); # Stats parser
    9596    $stats->parse($metadata) or die "Unable to find all values in statistics output.\n";
Note: See TracChangeset for help on using the changeset viewer.