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

Move daf_butler's doImport function to utils

    XMLWordPrintable

    Details

    • Story Points:
      0.5
    • Sprint:
      BG3_F18_09
    • Team:
      Data Release Production

      Description

      daf_butler has a really nice, robust function for importing a symbol given a string.  I want that in afw for importing PupilFactory classes in cameraGeom, so I can replace a Python class object with a string when moving Camera to C++.

        Attachments

          Issue Links

            Activity

            Hide
            jbosch Jim Bosch added a comment -

            In addition to just moving, I added a fix to doImport for an edge case revealed by updating the tests.

            daf_butler PR is: https://github.com/lsst/daf_butler/pull/91

            Show
            jbosch Jim Bosch added a comment - In addition to just moving, I added a fix to doImport for an edge case revealed by updating the tests. daf_butler PR is:  https://github.com/lsst/daf_butler/pull/91
            Hide
            tjenness Tim Jenness added a comment -

            Very minor comments on PR. I did laugh at the doImport.doImport problem.

            Show
            tjenness Tim Jenness added a comment - Very minor comments on PR. I did laugh at the doImport.doImport problem.

              People

              Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Reviewers:
              Tim Jenness
              Watchers:
              Jim Bosch, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.