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

meas_base/test_diaCalculationPlugins fails with scipy 1.9

    XMLWordPrintable

    Details

    • Urgent?:
      No

      Description

      A comment in the code says that "skew returns a named tuple when called on an array with nan values." (Apparently this may have been a MaskedArray.) This has been fixed in scipy 1.9: https://github.com/scipy/scipy/issues/12548

      As a result, the test fails due to trying to extract data from a float.

      Please rewrite this so that it is compatible with both older and newer versions of scipy.

        Attachments

          Issue Links

            Activity

            Hide
            erykoff Eli Rykoff added a comment -

            Checked locally that this update works on both scipy=1.8.1 and scipy=1.9.0.

            Show
            erykoff Eli Rykoff added a comment - Checked locally that this update works on both scipy=1.8.1 and scipy=1.9.0.
            Hide
            ktl Kian-Tat Lim added a comment -

            LGTM.

            Show
            ktl Kian-Tat Lim added a comment - LGTM.

              People

              Assignee:
              erykoff Eli Rykoff
              Reporter:
              ktl Kian-Tat Lim
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Eli Rykoff, Kian-Tat Lim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.