Skip to content

Commit

Permalink
genDefectFits.py: fix instantiation of mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulPrice committed Jul 23, 2015
1 parent 90b1775 commit 59f92bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/genDefectFits.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
mapperMap = {'hsc': HscMapper, 'suprimecam': SuprimecamMapper, 'suprimecam_mit': SuprimecamMapperMit}

def genDefectFits(cameraName, source, targetDir):
mapper = mapperMap[cameraName.lower()]()
mapper = mapperMap[cameraName.lower()](root=".")
camera = mapper.camera

ccds = dict()
Expand Down

0 comments on commit 59f92bb

Please sign in to comment.