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

Fix repr for gen3 Registry to output SQLite path

    Details

    • Templates:
    • Story Points:
      1
    • Team:
      Data Release Production

      Description

      The str and repr output for the gen3 Registry objects could be cleaned up:

      (Pdb++) str(gen3Butler.registry)
      'SQLite3@/tmp/tmp8jbxfh7k/gen3.sqlite3'
      (Pdb++) gen3Butler.registry
      Registry(<lsst.daf.butler.registry.databases.sqlite.SqliteDatabase object at 0x7fec973f04a8>, DimensionUniverse({htm7, htm9, abstract_filter, instrument, skymap, calibration_label, detector, physical_filter, tract, patch, visit, exposure}))
      

      The DimensionUniverse would be useful to see in the `str` output, while the `repr` should show the sqlite path instead of the Object.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Parejkoj John Parejko
              Watchers:
              Jim Bosch, John Parejko, Kian-Tat Lim, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel