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

segfault when spatialOrder is zero in psfDetermination

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_tasks
    • Labels:
      None

      Description

      from lsst.pipe.tasks.characterizeImage import CharacterizeImageTask
      imCharConfig = CharacterizeImageTask.ConfigClass()
      imCharConfig.measurePsf.psfDeterminer['psfex'].spatialOrder = 0
      imCharTask = CharacterizeImageTask(config=imCharConfig)
      imcharTask.run(exp)

      The MWE above segfaults when given any exposure. Config validation should fix this.

        Attachments

          Issue Links

            Activity

            Hide
            erykoff Eli Rykoff added a comment - - edited

            So it segfaults on 1 as well as 0? [retracted, there was a typo in the example that has been fixed]

            Show
            erykoff Eli Rykoff added a comment - - edited So it segfaults on 1 as well as 0? [retracted, there was a typo in the example that has been fixed]
            Show
            erykoff Eli Rykoff added a comment - PR is here: https://github.com/lsst/meas_extensions_psfex/pull/59 Jenkins: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/34797/pipeline
            Hide
            mfisherlevine Merlin Fisher-Levine added a comment -

            Test doesn't actually do anything IMO, but other than that, looks great.

            Show
            mfisherlevine Merlin Fisher-Levine added a comment - Test doesn't actually do anything IMO, but other than that, looks great.
            Hide
            mfisherlevine Merlin Fisher-Levine added a comment -

            (I mean, it's not a no-op, it's just that it would have passed previously as well)

            Show
            mfisherlevine Merlin Fisher-Levine added a comment - (I mean, it's not a no-op, it's just that it would have passed previously as well)

              People

              Assignee:
              erykoff Eli Rykoff
              Reporter:
              mfisherlevine Merlin Fisher-Levine
              Reviewers:
              Merlin Fisher-Levine
              Watchers:
              Eli Rykoff, Merlin Fisher-Levine
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.