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

Update testCoadds.py to accommodate changes in DM-2915

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_tasks
    • Labels:
      None
    • Templates:
    • Story Points:
      0.5
    • Sprint:
      Science Pipelines DM-W16-3
    • Team:
      Data Release Production

      Description

      As of DM-2915, the config setting:

      self.measurement.plugins['base_PixelFlags'].masksFpAnywhere = ['CLIPPED']

      is set as a default for MeasureMergedCoaddSourcesTask. However, this CLIPPED mask plane only exists if a given coadd was created using the newly implemented SafeClipAssembleCoaddTask. If a coadd was built using AssembleCoaddTask, the CLIPPED mask plane is not present, so the above default must be overridden to exclude it when using MeasureMergedCoaddSourcesTask. This is the case for the mock coadd that is assembled in the unittest code in testCoadds.py, so the config needs to be set for the test to run properly.

      Note that the associated tests for SafeClipAssembleCoaddTask will be added as part of DM-4209.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  lauren Lauren MacArthur
                  Reporter:
                  lauren Lauren MacArthur
                  Reviewers:
                  Nate Lust
                  Watchers:
                  Lauren MacArthur, Nate Lust
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel