Changeset 26150
- Timestamp:
- Nov 15, 2009, 8:46:06 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r26143 r26150 580 580 } 581 581 582 # If there are multiple cam runs for this exposure, take the last one 583 # assuming that it has the best astrometry 584 my $camdata = pop @$camruns; 582 # If there are multiple cam runs for this exposure, take the last completed one 583 # on the assumption that it has the best astrometry. 584 my $camdata; 585 while ($camdata = pop @$camruns) { 586 last if $camdata->{state} eq "full"; 587 } 585 588 if (!$camdata) { 586 589 # no cam runs for this exposure id therefore best astrometry is whatever is in the header
Note:
See TracChangeset
for help on using the changeset viewer.
