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

pfsConfig.selectByFiberStatus does not return the fiber indices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Won't Fix (View Workflow)
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      2DDRP-2021 A 8

      Description

      The method PfsConfig.selectByFiberStatus() returns indices of each fiberId specified, if that fiber has the corresponding FiberStatus matching that specified in the method argument.

      However the method does not behave as expected. The outputs of the following two lines should be the same:

      pfsConfig.selectFiber([3, 201, 649])
      array([  0,  84, 253])
      pfsConfig.selectByFiberStatus(pfs.datamodel.FiberStatus.GOOD, [3, 201, 649])
      array([0, 1, 2])
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: