Skip to content

Commit

Permalink
remove getEupsProductName method from CameraMapper subclasses
Browse files Browse the repository at this point in the history
Replaced by the packageName class variable and getPackageName() method.
  • Loading branch information
jhoblitt committed May 26, 2015
1 parent ebcd384 commit 2129fff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/obs/sdss/sdssMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
import lsst.meas.algorithms as measAlgo

class SdssMapper(CameraMapper):
packageName = 'obs_sdss'

def __init__(self, inputPolicy=None, **kwargs):
policyFile = pexPolicy.DefaultPolicyFile("obs_sdss", "SdssMapper.paf", "policy")

This comment has been minimized.

Copy link
@timj

timj May 26, 2015

Member

"obs_sdss" string is repeated. Should use self.packageName.

This comment has been minimized.

Copy link
@jhoblitt

jhoblitt May 26, 2015

Author Contributor

DRYed.

policy = pexPolicy.Policy(policyFile)
Expand Down

0 comments on commit 2129fff

Please sign in to comment.