IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20502


Ignore:
Timestamp:
Oct 31, 2008, 5:14:15 PM (18 years ago)
Author:
bills
Message:

removed some unneded code and added some comments

File:
1 edited

Legend:

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

    r20495 r20502  
    163163        }
    164164
     165        # do this in eval so we can fault the exposure without
     166        # passing the $magic_id and $node everywhere
    165167        eval {
    166168            foreach my $innode (@$inputs) {
    167                 my ($image, $mask, $weight) = resolve_inputs($innode);
    168 
     169                # root for inputs from previous stage
    169170                my $in_uri = $innode->{uri};
    170 
    171171                print $infh "$in_uri\n";
     172
     173                # build image lists by combining the lists from
     174                # previous stages
    172175                cat_list_to_list($ifh, $in_uri, "image.list");
    173176                cat_list_to_list($mfh, $in_uri, "mask.list");
    174177                cat_list_to_list($wfh, $in_uri, "weight.list");
    175178                cat_list_to_list($sfh, $in_uri, "wcs.list") if $skycell_list;
    176 
    177179            }
    178180            close $infh;
     
    193195
    194196    unless ($no_op) {
    195         # RemoveStreaks fails if the output file already exists
     197        # RemoveStreaks fails if an output file already exists
    196198        foreach my $output (@outputs) {
    197199            unlink($output) if -e $output;
Note: See TracChangeset for help on using the changeset viewer.