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

Mapping.applyForward and applyInverse fail on empty arrays

    Details

    • Story Points:
      1
    • Sprint:
      Alert Production F17 - 10
    • Team:
      Alert Production

      Description

      Mapping.applyForward and Mapping.applyInverse fail on empty arrays: it triggers an AST error.

      This showed up as a mysterious error in DM-10765 in afw test_footprint1.py

      The fix is trivial: have Mapping._tran skip the call to astTranN if the input array has 0 points.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment -

            Looks good.

            Show
            krzys Krzysztof Findeisen added a comment - Looks good.

              People

              • Assignee:
                rowen Russell Owen
                Reporter:
                rowen Russell Owen
                Reviewers:
                Krzysztof Findeisen
                Watchers:
                Krzysztof Findeisen, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel