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

constructFiberProfiles.py can fail with a syntax error

    XMLWordPrintable

    Details

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

      Description

      The command

      constructFiberProfiles.py /work/drp --calib /work/drp/CALIB --id arm=n spectrograph=3 visit=96895^96897^96900 --rerun rhl/eng-2023-07 --batch-type none -c isr.doFlat=False isr.doFlatNir=False isr.doIPC=True psfFwhm=3 forceFiberIds=True profiles.doBlindFind=False profiles.profileRadius=3  rerunISR=False --clobber-config -j 10
      

      fails with

        File "/home/rhl/PFS/drp/stella/python/pfs/drp/stella/constructFiberProfilesTask.py", line 212, in combine
          date = profiles.getVisitInfo().getDate()
      AttributeError: 'lsst.daf.base.propertyContainer.propertyList.Prope' object has no attribute 'getDate'
      

      It's true; profiles.getVisitInfo() is not a VisitInfo.

      Fortunately the command with the options isr.doFlat=False isr.doFlatNir=False isr.doIPC=True profiles.profileRadius=2 profiles.profileSwath=2000 profiles.profileOversample=5 runs to completion

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: