Skip to content

Commit

Permalink
Move metadata property to parent class
Browse files Browse the repository at this point in the history
reading FITS metadata is needed there.
  • Loading branch information
timj committed Aug 1, 2019
1 parent 306290a commit e2ba272
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions python/lsst/obs/base/fitsRawFormatterBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,3 @@ def observationInfo(self):
if self._observationInfo is None:
self._observationInfo = ObservationInfo(self._metadata, translator_class=self.translatorClass)
return self._observationInfo

@property
def metadata(self):
"""The metadata read from this raw file. It will be stripped as
components are extracted from it.
"""
if self._metadata is None:
self._metadata = self.readMetadata()
return self._metadata

0 comments on commit e2ba272

Please sign in to comment.