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

Config RegistryFields do not always ensure plugins are imported in I/O

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: pex_config
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      Config fields that can reference plugins need to write import statements for those plugins when writing themselves to disk.  That seems to be failing in at least one case:

      If lsst.obs.subaru is not imported explicitly at the top of ci_hsc's validate.py, the subaru_FilterFraction plugin will cause a read error when the measureCoaddSources_config dataset is retrieved via a Gen3 Butler.  Direct inspection of the config file shows no import statement for lsst.obs.subaru.

      This cannot be reproduced with a Gen2 Butler because that will always have imported lsst.obs.subaru for other reasons, hiding the problem.  This same is true of Gen3 Butler prior to DM-15503, where some unrelated refactoring first triggered this failure.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbosch Jim Bosch
                Watchers:
                Jim Bosch, John Swinbank
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel