Changeset 25194
- Timestamp:
- Aug 25, 2009, 3:22:24 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r25130 r25194 219 219 $need_magic = $proj_hash->{need_magic}; 220 220 221 # Temporary hack so that MOPS can get at non-magicked data 222 if ($product eq "mops-pstamp-results") { 223 $need_magic = 0; 224 } 225 221 226 # collect rows with the same images of interest in a list so that they 222 227 # can be looked up together … … 289 294 my $have_skycells = shift; 290 295 my $need_magic = shift; 296 291 297 my $num_jobs = 0; 292 293 298 my $rownum = $row->{ROWNUM}; 294 295 299 my $components = $row->{components}; 296 300 … … 334 338 if (($stage ne "stack") and ($need_magic and !$image->{magicked})) { 335 339 # XXX: should we add a faulted job so the client can know what happened if no images come back? 336 print STDERR "skipp ping non-magicked image $imagefile\n" if $verbose;340 print STDERR "skipping non-magicked image $imagefile\n" if $verbose; 337 341 338 342 # for now assume yes. 339 343 340 344 insertFakeJobForRow($row, $job_num, $PSTAMP_NOT_DESTREAKED); 345 $num_jobs++; 341 346 342 347 next; … … 488 493 if ($npoints) { 489 494 # we collected a set of sky coordintates above filter the images so that only 490 # those t at contain the centers are processed495 # those that contain the centers are processed 491 496 my $command = "$dvoImagesAtCoords $pointsListName"; 492 497 if ($have_skycells) { … … 519 524 my ($rownum, undef, undef, $component) = split " ", $line; 520 525 521 # I guess since we need this function we should be us eing a hash for rowList526 # I guess since we need this function we should be using a hash for rowList 522 527 my $row = findRow($rownum, $rowList); 523 528 $row->{components}->{$component} = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
