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

showDetectorMap() fails on call to pfsConfig.selectFiber()

    XMLWordPrintable

    Details

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

      Description

      Calling drp.stella.utils.display.showDetectorMap() fails as follows:

      ---> 10 showDetectorMap(display=disp, detMap=detMap, pfsConfig=pfsConfig)
      
      /tigress/hassans/software/drp_stella/python/pfs/drp/stella/utils/display.py in showDetectorMap(display, pfsConfig, detMap, width, zoom, xc, fiberIds, lines)
          241         ls = '-'
          242         if fid in pfsConfig.fiberId:
      --> 243             ind = pfsConfig.selectFiber(fid)[0]
          244             imagingFiber = pfsConfig.targetType[ind] == TargetType.SUNSS_IMAGING
          245             if pfsConfig.fiberStatus[ind] == FiberStatus.BROKENFIBER:
      
      TypeError: 'int' object is not subscriptable
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: