Skip to content

Commit

Permalink
Merge pull request #299 from lsst/tickets/DM-26698
Browse files Browse the repository at this point in the history
DM-26698: Add additional supported extensions to FitsGenericFormatter
  • Loading branch information
erykoff committed Sep 11, 2020
2 parents acac382 + 21d8fb7 commit db8d150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/obs/base/formatters/fitsGeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class FitsGenericFormatter(FileFormatter):
"""Interface for reading and writing objects that support the standard
afw I/O readFits/writeFits methods.
"""
supportedExtensions = frozenset({".fits", ".fits.gz", ".fits.fz", ".fz", ".fit"})
extension = ".fits"

def _readFile(self, path, pytype):
Expand Down

0 comments on commit db8d150

Please sign in to comment.