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

Add Python properties for getters and setters in afw::geom and shapelet

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: In Progress
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw, shapelet
    • Labels:
      None

      Description

      I'm adding properties via Swig %extend in much of afw::geom right now, because:

      • I think we've all agreed this is something we want, even if we haven't agreed how much effort we want to put into it.
      • I'm getting annoyed writing lots of parentheses for these getters and setters on DM-5197.
      • I can get this done in a couple of hours on a weekend, so I don't need a T/CAM to give me permission to spend my own time on it

        Attachments

          Activity

          Hide
          swinbank John Swinbank added a comment -

          I don't need a T/CAM to give me permission

          Rats!

          Show
          swinbank John Swinbank added a comment - I don't need a T/CAM to give me permission Rats!
          Hide
          swinbank John Swinbank added a comment -

          This spawned a lengthy discussion on clo – https://community.lsst.org/t/python-properties-and-mutability-constness/695. We'll return to this issue in future, but it's likely to be more work than anticipated.

          Show
          swinbank John Swinbank added a comment - This spawned a lengthy discussion on clo – https://community.lsst.org/t/python-properties-and-mutability-constness/695 . We'll return to this issue in future, but it's likely to be more work than anticipated.

            People

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

              Dates

              Created:
              Updated:

                Jenkins Builds

                No builds found.