Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-42004: Update the module name for FitsMaskedImage formatter #917

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

arunkannawadi
Copy link
Member

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@@ -40,7 +40,7 @@ ImageU: lsst.obs.base.formatters.fitsExposure.FitsImageFormatter
DecoratedImageU: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter
Mask: lsst.obs.base.formatters.fitsExposure.FitsMaskFormatter
MaskX: lsst.obs.base.formatters.fitsExposure.FitsMaskFormatter
MaskedImageF: lsst.obs.base.formatters.fitsMaskedImage.FitsMaskedImageFormatter
MaskedImageF: lsst.obs.base.formatters.fitsExposure.FitsMaskedImageFormatter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're moving this, the original needs to continue to work (basically forever) since this string is written into the butler database for datasets we've already written. That makes me wonder if it's actually worthwhile to move it.

Copy link
Member Author

@arunkannawadi arunkannawadi Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not moving any code. I don't think this was ever correct, since the formatter had been defined in fitsExposure.py.

https://github.com/lsst/obs_base/blob/main/python/lsst/obs/base/formatters/fitsExposure.py#L26

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this is fixing a typo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I should perhaps update the PR title/ticket title?

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (54cae75) 87.31% compared to head (a7c677f) 87.31%.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #917    +/-   ##
========================================
  Coverage   87.31%   87.31%            
========================================
  Files         286      286            
  Lines       37168    37168            
  Branches     7318     7833   +515     
========================================
  Hits        32452    32452            
  Misses       3519     3519            
  Partials     1197     1197            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arunkannawadi arunkannawadi changed the title DM-42004: Update MaskedImage formatter DM-42004: Update the module name for MaskedImage formatter Dec 4, 2023
@arunkannawadi arunkannawadi changed the title DM-42004: Update the module name for MaskedImage formatter DM-42004: Update the module name for FitsMaskedImage formatter Dec 4, 2023
@arunkannawadi arunkannawadi merged commit bfad270 into main Dec 5, 2023
17 checks passed
@arunkannawadi arunkannawadi deleted the tickets/DM-42004 branch December 5, 2023 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants