Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-1597

Fix dmCombinedResiduals task for missing detectors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: drp_qa
    • Labels:
      None

      Description

      The dmCombinedResiduals task tries to order the output according to detector but if one of the detectors is missing it fails with:

      File "/work/kiyoyabe/erun/run19/reduction_new/src/drp_qa/python/pfs/drp/qa/dmCombinedResiduals.py", line 89, in runQuantum outputs = self.run(**inputs) ^^^^^^^^^^^^^^^^^^ File "/work/kiyoyabe/erun/run19/reduction_new/src/drp_qa/python/pfs/drp/qa/dmCombinedResiduals.py", line 121, in run stats.ccd = stats.ccd.cat.reorder_categories(detector_order) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^{{ValueError: items in new_categories are not the same as in old categories}}

        Attachments

          Activity

            People

            • Assignee:
              wtgee Wilfred Gee
              Reporter:
              wtgee Wilfred Gee
              Reviewers:
              Kiyoto Yabe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: