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

SpectrumSet.makeImage asserts len(self) == len(fiberTraces) which fails with broken fibres

    XMLWordPrintable

    Details

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

      Description

      SpectrumSet.makeImage asserts that the number of fibres in the DetectorMap and the FiberTraceSet is the same.  This isn't true when there are broken fibres, and
      the assertion doesn't seem to be needed to make the book-keeping work. Please remove it.

      The alternative is to add dummy traces to fiberTraces but I don't think we need to do that.

        Attachments

          Activity

            People

            • Assignee:
              rhl rhl
              Reporter:
              rhl rhl
              Reviewers:
              price
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: