Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11248

SingularTransformException not wrapped in pybind11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw

      Description

      lsst::afw::geom::SingularTransformException, a subclass of lsst::pex::exceptions::RuntimeError, appears as a generic Exception when propagated into Python code. This is not helpful when trying to catch it.

      The exception should either be wrapped with pybind11 or, if that is deemed undesirable, at least catchable as an instance of RuntimeError.

        Attachments

          Activity

          Hide
          krzys Krzysztof Findeisen added a comment -

          I've added a #TODO referring to this ticket in test_transformFactory.py.

          Show
          krzys Krzysztof Findeisen added a comment - I've added a #TODO referring to this ticket in test_transformFactory.py .

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            krzys Krzysztof Findeisen
            Watchers:
            Krzysztof Findeisen, Russell Owen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Jenkins

                No builds found.