IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20756


Ignore:
Timestamp:
Nov 14, 2008, 1:24:58 PM (17 years ago)
Author:
bills
Message:

At the -detect stage of magic processing bail if the input doesn't have
a diff_id. This indicates that the magic tree is bogus

File:
1 edited

Legend:

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

    r20707 r20756  
    120120        @outputs = ("${outroot}.clusters", "${outroot}_hough.fits", "${outroot}.streaks");
    121121
    122         my $diff_id;
     122        my $diff_id = $innode->{diff_id};
     123        if (!$diff_id) {
     124            &my_die("input for node has null diff_id", $magic_id, $node, $PS_EXIT_UNKNOWN_ERROR);
     125        }
    123126        my ($image, $mask, $weight) = resolve_inputs($innode);
    124127
Note: See TracChangeset for help on using the changeset viewer.