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_calc_norm.pl

    r8488 r8715  
    3838   
    3939    # Parse the output
    40     my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata
     40    my $metadata = $mdcParser->parse(join "", @$stdout_buf)
     41        or die "unable to parse metadata config doc";
    4142    $files = parse_md_list($metadata);
    4243}
     
    7475    die "Unable to perform ppNormCalc: $error_code\n"
    7576        if not $success;
    76     $norms = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata
     77    $norms = $mdcParser->parse(join "", @$stdout_buf)
     78        or die "unable to parse metadata config doc";
    7779}
    7880
Note: See TracChangeset for help on using the changeset viewer.