Skip to content

Commit

Permalink
Update astroquery/mast/collections.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eero Vaher <[email protected]>
  • Loading branch information
2 people authored and bsipocz committed Oct 22, 2021
1 parent 1dac519 commit 03c8f72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions astroquery/mast/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ def download_hsc_spectra(self, spectra, download_dir=None, cache=True, curl_flag
else:
data_url = f'https://hla.stsci.edu/cgi-bin/ecfproxy?file_id={spec["DatasetName"]}.fits'

filename = spec['DatasetName']
local_path = os.path.join(base_dir, f'{filename}.fits')
local_path = os.path.join(base_dir, f'{spec["DatasetName"]}.fits')

status = "COMPLETE"
msg = None
Expand Down

0 comments on commit 03c8f72

Please sign in to comment.