Skip to content

Commit

Permalink
Formatter.write no longer returns anything so remove the return
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Nov 18, 2020
1 parent db93b88 commit e8cad1f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/lsst/obs/base/formatters/fitsExposure.py
Expand Up @@ -276,11 +276,6 @@ def write(self, inMemoryDataset):
----------
inMemoryDataset : `object`
The Python object to store.
Returns
-------
path : `str`
The `URI` where the primary file is stored.
"""
# Update the location with the formatter-preferred file extension
self.fileDescriptor.location.updateExtension(self.extension)
Expand All @@ -297,7 +292,6 @@ def write(self, inMemoryDataset):
inMemoryDataset.writeFitsWithOptions(outputPath, options=ps)
else:
inMemoryDataset.writeFits(outputPath)
return self.fileDescriptor.location.pathInStore

def getImageCompressionSettings(self, recipeName):
"""Retrieve the relevant compression settings for this recipe.
Expand Down

0 comments on commit e8cad1f

Please sign in to comment.