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

meas_base tests broken with NumPy 1.12

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      meas_base's tests/testVariance.py contains the line:

      var.getArray()[bad, :] = float("nan")
      

      Where bad is 54.0.

      As of NumPy 1.12, this will throw an IndexError and the tests (obviously) fail.

      Should be an easy fix.

        Attachments

          Issue Links

            Activity

            swinbank John Swinbank created issue -
            swinbank John Swinbank made changes -
            Field Original Value New Value
            Epic Link DM-8306 [ 27828 ]
            swinbank John Swinbank made changes -
            Link This issue relates to DM-8032 [ DM-8032 ]
            swinbank John Swinbank made changes -
            Story Points 0.5 1
            swinbank John Swinbank made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            swinbank John Swinbank made changes -
            Reviewers David Reiss [ reiss ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            swinbank John Swinbank made changes -
            Sprint DRP S17-6 [ 365 ] DRP S17-3 [ 360 ]
            swinbank John Swinbank made changes -
            Resolution Done [ 10000 ]
            Status In Review [ 10004 ] Done [ 10002 ]
            tjenness Tim Jenness made changes -
            Link This issue relates to DM-9724 [ DM-9724 ]

              People

              Assignee:
              swinbank John Swinbank
              Reporter:
              swinbank John Swinbank
              Reviewers:
              David Reiss
              Watchers:
              David Reiss, John Swinbank, Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: