Skip to content

Commit

Permalink
Wrap "ccd" as an int, not a string, for compatibility with butler
Browse files Browse the repository at this point in the history
  • Loading branch information
mrawls committed Mar 20, 2017
1 parent efab3bc commit b4500d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/subaru/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _translateFromCalibId(self, field, md):
return match.groups()[0]

def translate_ccd(self, md):
return self._translateFromCalibId("ccd", md)
return int(self._translateFromCalibId("ccd", md))

def translate_filter(self, md):
return self._translateFromCalibId("filter", md)
Expand Down

0 comments on commit b4500d7

Please sign in to comment.