Changeset 20502
- Timestamp:
- Oct 31, 2008, 5:14:15 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_process.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_process.pl
r20495 r20502 163 163 } 164 164 165 # do this in eval so we can fault the exposure without 166 # passing the $magic_id and $node everywhere 165 167 eval { 166 168 foreach my $innode (@$inputs) { 167 my ($image, $mask, $weight) = resolve_inputs($innode); 168 169 # root for inputs from previous stage 169 170 my $in_uri = $innode->{uri}; 170 171 171 print $infh "$in_uri\n"; 172 173 # build image lists by combining the lists from 174 # previous stages 172 175 cat_list_to_list($ifh, $in_uri, "image.list"); 173 176 cat_list_to_list($mfh, $in_uri, "mask.list"); 174 177 cat_list_to_list($wfh, $in_uri, "weight.list"); 175 178 cat_list_to_list($sfh, $in_uri, "wcs.list") if $skycell_list; 176 177 179 } 178 180 close $infh; … … 193 195 194 196 unless ($no_op) { 195 # RemoveStreaks fails if theoutput file already exists197 # RemoveStreaks fails if an output file already exists 196 198 foreach my $output (@outputs) { 197 199 unlink($output) if -e $output;
Note:
See TracChangeset
for help on using the changeset viewer.
