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

ObjectSizeStarSelector can produce numpy warnings

    Details

      Description

      ObjectSizeStarSelector can produce the following numpy warnings:

      objectSizeStarSelector.py:382: RuntimeWarning: invalid value encountered in less
        bad = numpy.logical_or(bad, width < self.config.widthMin)
      

      objectSizeStarSelector.py:383: RuntimeWarning: invalid value encountered in greater
        bad = numpy.logical_or(bad, width > self.config.widthMax)
      

      I suggest that the star selector handle this situation more gracefully, e.g. by reporting an appropriate exception or handling the data in an appropriate way. If logging a message would be helpful, then please do that. (DM-5428 handled a similar warning).

      One way to reproduce this is to build ci_hsc.

        Attachments

          Issue Links

            Activity

            Hide
            swinbank John Swinbank added a comment -

            Addressed in DM-11776.

            Show
            swinbank John Swinbank added a comment - Addressed in DM-11776 .

              People

              • Assignee:
                Unassigned
                Reporter:
                vpk24 Vishal Kasliwal [X] (Inactive)
                Watchers:
                John Swinbank
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel