Skip to content

Commit

Permalink
Fix pep8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Mar 16, 2018
1 parent 6c4b40f commit 8e91b75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion python/lsst/obs/lsstSim/lsstSimMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import os
import re

import lsst.obs.base as obsBase
import lsst.daf.base as dafBase
import lsst.afw.image.utils as afwImageUtils
import lsst.daf.persistence as dafPersist
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/obs/lsstSim/makeLsstSimRawVisitInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def setArgDict(self, md, argDict):
# Other simulation tools don't have the same problem, and need hour angle if it is available.
HA = self.popAngle(md, "HA", units=astropy.units.h)
argDict['era'] = HA + RA - longitude
except:
except Exception:
self.log.warn("Hour angle missing from metadata, will be NAN")
return VisitInfo(**argDict)

Expand Down

0 comments on commit 8e91b75

Please sign in to comment.