Skip to content

Conversation

@jd-au
Copy link
Contributor

@jd-au jd-au commented Sep 27, 2021

Non image data (e.g. visibilities) will not have a 'cutout_service' in the datalink response but will have an 'async_service'. As this is also present for all image data we should use this unless we are requesting cutouts (which we will add to our astroquery module in the future).

In addition I have fixed a bug where if there were no files that the user had access to it would give an obscure error when they were asked to be staged.

Non image data (e.g. visibilities) will not have a 'cutout_service' in the datalink response but will have an 'async_service'. As this is also present for all image data we should use this unless we are requesting cutouts (which we will add to our astroquery module in the future).

In addition I have fixed a bug where if there were no files that the user had access to it would give an obscure error when they were asked to be staged.
@pep8speaks
Copy link

pep8speaks commented Sep 27, 2021

Hello @jd-au! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-09-27 06:32:41 UTC

@codecov
Copy link

codecov bot commented Sep 27, 2021

Codecov Report

Merging #2158 (2dd51b4) into main (9a2864c) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2158      +/-   ##
==========================================
+ Coverage   66.22%   66.24%   +0.02%     
==========================================
  Files         419      419              
  Lines       28101    28118      +17     
==========================================
+ Hits        18609    18626      +17     
  Misses       9492     9492              
Impacted Files Coverage Δ
astroquery/casda/core.py 87.20% <100.00%> (+0.46%) ⬆️
astroquery/casda/tests/test_casda.py 97.58% <100.00%> (+0.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a2864c...2dd51b4. Read the comment docs.

@bsipocz bsipocz added the casda label Sep 28, 2021
@bsipocz
Copy link
Member

bsipocz commented Sep 28, 2021

Thanks @jd-au!

@bsipocz bsipocz merged commit d606686 into astropy:main Sep 28, 2021
@bsipocz bsipocz added this to the v0.4.4 milestone Sep 28, 2021
@jd-au jd-au deleted the CASDA-6719-stage-data branch November 23, 2021 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants