Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LTDakin committed May 6, 2024
1 parent f3eeb0d commit 52459a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion datalab/datalab_session/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def get_hdu(basename: str, extension: str = 'SCI') -> list[fits.HDUList]:
except IndexError:
RuntimeWarning(f"No image found with specified basename: {basename}")

# not sure if HDU is ever being closed here?
hdu = fits.open(fits_url, use_fsspec=True)
cache.set(f'{basename}-{extension}', hdu[extension])
return hdu[extension]
Expand Down

0 comments on commit 52459a9

Please sign in to comment.