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

meas_algorithms warning message looks wrong if only 1 sources

    Details

    • Templates:

      Description

      As shown in DM-11779, we get warning messages from aperture correction looking like:

      only 1 sources, but require at least 2.
      

      This should be fixed to use correct grammar. The relevant code is python/lsst/meas/algorithms/measureApCorr.py lines 244-249. It looks to me like the warning message is constructed twice, and it would be cleaner to construct it once and use it twice.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tjenness Tim Jenness
                Watchers:
                Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel