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

guiders.plotFocus no longer plots the focus panels vs agc_exposure_id

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      preRun29Jul2026, postRun29July2026, preRun30Sep2026

      Description

      guiders.plotFocus no longer plots the focus panels vs agc_exposure_id pfs.drp.stella.utils.guiders.plotFocus fails to plot the focus panel.

      Root cause: a leftover debugging guard at line 2787 —
      raise RuntimeError("Fix RHL's known bugs with uninitialised variables")
      — followed by dead/orphaned code referencing uninitialised variables

          * With showAGActorFocus=True it raises the exception
          * with showOpdbFocus=True it produces empty axes and UserWarning: No artists with labels found to put in legend.

      The focus-sweep path is unaffected: with showFWHM=True the FWHM panel is a separate, intact code path and still plots correctly — so plotFocusSweep works, only the plotFocus focus-delta panels are broken.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhl rhl
                Reporter:
                arnaud.lefur arnaud.lefur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: