Skip to content

Commit

Permalink
Merge pull request #491 from lsst/tickets/DM-21488
Browse files Browse the repository at this point in the history
DM-21488: Using asAstropy() on a BaseCatalog will raise an exception unless lsst.daf.base has been imported
  • Loading branch information
TallJimbo committed Oct 24, 2019
2 parents 4b62d03 + 0f2a179 commit b48ba00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/afw/table/_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ PyBaseTable declareBaseTable(WrapperCollection &wrappers) {
} // namespace

void wrapBase(WrapperCollection &wrappers) {
wrappers.addSignatureDependency("lsst.daf.base");

auto clsBaseTable = declareBaseTable(wrappers);
auto clsBaseRecord = declareBaseRecord(wrappers);
auto clsBaseCatalog = table::python::declareCatalog<BaseRecord>(wrappers, "Base");
Expand Down

0 comments on commit b48ba00

Please sign in to comment.