Skip to content

Commit

Permalink
Merge pull request #678 from lsst/tickets/DM-37534
Browse files Browse the repository at this point in the history
DM-37534: Ensure that pex_exceptions is imported for afw.fits
  • Loading branch information
timj authored Jan 30, 2023
2 parents 87b8406 + 189dbdf commit 4287475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/lsst/afw/fits/_fits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void declareFitsModule(lsst::utils::python::WrapperCollection &wrappers) {
} // namespace
PYBIND11_MODULE(_fits, mod) {
lsst::utils::python::WrapperCollection wrappers(mod, "lsst.afw.fits");
wrappers.addSignatureDependency("lsst.pex.exceptions");
wrappers.addInheritanceDependency("lsst.pex.exceptions");
wrappers.addSignatureDependency("lsst.daf.base");
// FIXME: after afw.image pybind wrappers are converted
//wrappers.addSignatureDependency("lsst.afw.image");
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/afw/geom/_polygon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void declarePolygon(lsst::utils::python::WrapperCollection &wrappers) {
}
} // namespace
void wrapPolygon(lsst::utils::python::WrapperCollection &wrappers) {
wrappers.addSignatureDependency("lsst.pex.exceptions");
wrappers.addInheritanceDependency("lsst.pex.exceptions");
wrappers.addInheritanceDependency("lsst.afw.typehandling");
wrappers.addSignatureDependency("lsst.afw.table.io");
wrappers.wrapException<SinglePolygonException, pex::exceptions::RuntimeError>("SinglePolygonException",
Expand Down

0 comments on commit 4287475

Please sign in to comment.