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

DetectorCollection (and Camera) should use OrderedDict

    XMLWordPrintable

    Details

      Description

      DetectorCollection is constructed from a detectorList and could easily remember the order for __iter__ by using collections.OrderedDict, but instead it uses dict internally.

        Attachments

          Activity

          Hide
          swinbank John Swinbank added a comment -

          Obsolete following RFC-585, RFC-632, etc changes to cameraGeom.

          Show
          swinbank John Swinbank added a comment - Obsolete following RFC-585 , RFC-632 , etc changes to cameraGeom.
          Hide
          rowen Russell Owen added a comment -

          Even if cameraGeom hadn't changed it would be obsolete because Python dict is now ordered.

          Show
          rowen Russell Owen added a comment - Even if cameraGeom hadn't changed it would be obsolete because Python dict is now ordered.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rowen Russell Owen
            Watchers:
            John Parejko, John Swinbank, Russell Owen, Simon Krughoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.