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

segfault when spatialOrder is zero in psfDetermination

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • pipe_tasks
    • None
    • 0.5
    • Data Release Production
    • No

    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

            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]

            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]
            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

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

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

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

            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

              erykoff Eli Rykoff
              mfisherlevine Merlin Fisher-Levine
              Merlin Fisher-Levine
              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.