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

VisitInfo repr() and str() should print a useful summary of contents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Story Points:
      2
    • Sprint:
      Alert Production F17 - 11
    • Team:
      Alert Production

      Description

      The new VisitInfo object is a bit opaque from within Python: you can look at the individual components via e.g. visitInfo.darkTime and visitInfo.boresightAirmass, but print(visitInfo) is not helpful. it would be extremely useful for str() and repr() to print either the whole contents of the VisitInfo (it's not that much information), or for str() to print a useful summary and repr() the whole thing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Reviewers:
              Russell Owen
              Watchers:
              Jim Bosch, John Parejko, John Swinbank, Russell Owen, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.