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

Coadd analysis script failing with a TypeError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_analysis
    • Labels:
      None
    • Sprint:
      DRP F17-4
    • Team:
      Data Release Production

      Description

      As reported by Sophie Reed, the coadd analysis script is currently failing with:

        File "/tigress/HSC/users/lauren/LSST/pipe_analysis/python/lsst/pipe/analysis/analysis.py", line 183, in plotAgainstMagAndHist
          if camera is not None and len(ccdList) > 0:
      TypeError: object of type 'NoneType' has no len()
      

      please fix.

        Attachments

          Activity

          Hide
          lauren Lauren MacArthur added a comment -

          Would you mind giving this a review (i.e. make sure if fixes the bug for you)?

          Show
          lauren Lauren MacArthur added a comment - Would you mind giving this a review (i.e. make sure if fixes the bug for you)?
          Hide
          sophiereed Sophie Reed added a comment -

          Bug fixed

          Show
          sophiereed Sophie Reed added a comment - Bug fixed
          Hide
          lauren Lauren MacArthur added a comment -

          Thanks Sophie Reed! Merged to master.

          Show
          lauren Lauren MacArthur added a comment - Thanks Sophie Reed ! Merged to master.

            People

            Assignee:
            lauren Lauren MacArthur
            Reporter:
            lauren Lauren MacArthur
            Reviewers:
            Sophie Reed
            Watchers:
            John Swinbank, Lauren MacArthur, Sophie Reed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.