Skip to content

Commit

Permalink
Switch from makeVisitInfo to VisitInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Mar 17, 2017
1 parent 36cc3d4 commit 00c9c91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/obs/base/makeRawVisitInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from lsst.log import Log
from lsst.daf.base import DateTime
from lsst.afw.geom import degrees
from lsst.afw.image import makeVisitInfo
from lsst.afw.image import VisitInfo

__all__ = ["MakeRawVisitInfo"]

Expand Down Expand Up @@ -87,10 +87,10 @@ def __call__(self, md, exposureId):
if argDict[key] is None:
self.log.warn("argDict[{}] is None; stripping".format(key, argDict[key]))
del argDict[key]
return makeVisitInfo(**argDict)
return VisitInfo(**argDict)

def setArgDict(self, md, argDict):
"""Fill an argument dict with arguments for makeVisitInfo and pop associated metadata
"""Fill an argument dict with arguments for VisitInfo and pop associated metadata
Subclasses are expected to override this method, though the override
may wish to call this default implementation, which:
Expand Down

0 comments on commit 00c9c91

Please sign in to comment.