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

Please make butler read proxies work for functors

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Team:
      Architecture

      Description

      Butler read proxies raise an error message if used as callable objects. This is a headache for linearizers, which are functors. One must use get(..., immediate=True) in order to successfully retrieve a usable linearizer.

      Kian-Tat Lim suggested a fix on HipChat: add __call__ support to lsst.daf.persistence.ReadProxy

      DM-6514 includes a workaround for this bug (using immediate=True in the ISR tasks in ip_isr and obs_subaru to unpersist linearizers) and it may be worth removing that workaround when fixing this issue.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                ktl Kian-Tat Lim
                Reporter:
                rowen Russell Owen
                Watchers:
                Kian-Tat Lim, Nate Pease, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel