Skip to content

Commit

Permalink
Use StarSelector.run to make PSF candidates
Browse files Browse the repository at this point in the history
Simplify a unit test that runs a star selector to use the run method
when PSF candidates are wanted.
  • Loading branch information
r-owen committed Mar 22, 2016
1 parent c677f51 commit 47a557a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/pipe/tasks/measurePsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ def run(self, exposure, sources, expId=0, matches=None):
#
# Run star selector
#
starCat = self.starSelector.selectStars(exposure=exposure, sourceCat=sources, matches=matches).starCat
psfCandidateList = self.starSelector.makePsfCandidates(exposure=exposure, starCat=starCat)
psfCandidateList = self.starSelector.run(exposure=exposure, sourceCat=sources,
matches=matches).psfCandidates
reserveList = []

if self.config.reserveFraction > 0 :
Expand Down

0 comments on commit 47a557a

Please sign in to comment.