lsst-sims / legacy_sims_GalSimInterface

code to seamlessly generate simulated images using GalSim based off of simulated catalogs generated by CatSim
5 stars 7 forks source link

silence afw.geom deprecation warnings #89

Closed jchiang87 closed 5 years ago

jchiang87 commented 5 years ago

Many warnings like

self._bbox = afwGeom.Box2D(bbox)
5559/opt/lsst/software/stack/stack/miniconda3-4.5.12-1172c30/Linux64/sims_GalSimInterface/2.13.0.sims-8-gebdc50b+1/python/lsst/sims/GalSimInterface/galSimDetector.py:267: FutureWarning: Call to deprecated function (or staticmethod) Box2D. (Replaced by lsst.geom.Box2D (will be removed before the release of v20.0))

are being generated when using lsst_sims w_2019_37. This PR will silence them