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

Guard against bad shape in Image.array assignment

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
    • Templates:
    • Story Points:
      0.5
    • Team:
      Data Release Production

      Description

      Assigning to Image.array in Python invokes an ndarray::Array operation that only checks for consistent shapes in an assert. That means one can get an unpleasant segfault in Python.
      We should instead explicitly raise in the pybind11 layer.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Clare Saunders, Jim Bosch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel