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

Fix bugs in showCamera

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Team:
      DM Science

      Description

      There are a few minor bugs to do with using showCamera to display raw and calibration frames such as biases.  Additionally the code to handle calexps was fragile, as was the handling of cameras for which ccd=ccd.getId() is an invalid dataId field.

      Please fix them.

        Attachments

          Activity

          Hide
          swinbank John Swinbank added a comment -

          In afw or obs_subaru (or both)?

          Is it possible to be more specific than “a few minor bugs”?

          Show
          swinbank John Swinbank added a comment - In afw or obs_subaru (or both)? Is it possible to be more specific than “a few minor bugs”?
          Hide
          rhl Robert Lupton added a comment -

          As we discussed, these are misc bug fixes that never got committed.

           

          Show
          rhl Robert Lupton added a comment - As we discussed, these are misc bug fixes that never got committed.  
          Hide
          swinbank John Swinbank added a comment -

          I assume you're asking for a review of https://github.com/lsst/afw/pull/375 — is there anything else covered by this ticket?

          Show
          swinbank John Swinbank added a comment - I assume you're asking for a review of https://github.com/lsst/afw/pull/375 — is there anything else covered by this ticket?
          Hide
          rhl Robert Lupton added a comment -

          That's all.  Easy!

           

          Show
          rhl Robert Lupton added a comment - That's all.  Easy!  
          Hide
          swinbank John Swinbank added a comment -

          The mechanics of the code itself looks fine. A couple of minor comments on the PR.

          This module as a whole could use more explanation of what it's actually supposed to do — it's hard to judge whether this is actually going to perform as advertised when there's no advertisement. I don't think this change makes that significantly worse, though, and I don't think it's reasonable to ask you to provide rationale for the whole file on this ticket. Might be helpful to add a comment on why you're forcing allowRotate to False at line 496.

          Show
          swinbank John Swinbank added a comment - The mechanics of the code itself looks fine. A couple of minor comments on the PR. This module as a whole could use more explanation of what it's actually supposed to do — it's hard to judge whether this is actually going to perform as advertised when there's no advertisement. I don't think this change makes that significantly worse, though, and I don't think it's reasonable to ask you to provide rationale for the whole file on this ticket. Might be helpful to add a comment on why you're forcing allowRotate to False at line 496.
          Hide
          rhl Robert Lupton added a comment -

          Addressed comments, merged to master, pushed, fixed flake8 pickiness, pushed.

          Show
          rhl Robert Lupton added a comment - Addressed comments, merged to master, pushed, fixed flake8 pickiness, pushed.

            People

            Assignee:
            rhl Robert Lupton
            Reporter:
            rhl Robert Lupton
            Reviewers:
            John Swinbank
            Watchers:
            John Swinbank, Robert Lupton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.