Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10965

FootprintSet setter unable to accept results from getter

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DRP F17-1
    • Team:
      Data Release Production

      Description

      A bug in afw FootprintSets was reported where the returned value from getFootprints could not be used in the function call setFootprints as shown below. Success of this ticket will be when the output can be used as an input.

      (Pdb) footprintSet.setFootprints(footprintSet.getFootprints())
      *** TypeError: setFootprints(): incompatible function arguments. The following argument types are supported:
          1. (self: lsst.afw.detection._footprintSet.FootprintSet, arg0: std::vector<std::shared_ptr<lsst::afw::detection::Footprint>, std::allocator<std::shared_ptr<lsst::afw::detection::Footprint> > >) -> None
       
      Invoked with: <lsst.afw.detection._footprintSet.FootprintSet object at 0x7fdc226da928>, [<lsst.afw.detection._footprint.Footprint object at 0x7fdc226dac38>, <lsst.afw.detection._footprint.Footprint object at 0x7fdc226dadf8>, <lsst.afw.detection._footprint.Footprint object at 0x7fdc226dac70>]
      

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                nlust Nate Lust
                Reporter:
                nlust Nate Lust
                Reviewers:
                John Swinbank
                Watchers:
                John Swinbank, Nate Lust
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel