Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added selcols keyword to astroquery.irsa #1296

Merged
merged 4 commits into from Dec 5, 2018

Conversation

jgagneastro
Copy link
Contributor

Added selcols keyword to astroquery.irsa allowing to select subsets or extra columns from IRSA tables

@pep8speaks
Copy link

pep8speaks commented Nov 29, 2018

Hello @jgagneastro! Thanks for updating the PR.

Comment last updated on November 29, 2018 at 19:06 Hours UTC

@keflavich
Copy link
Contributor

This mostly looks fine. Could you add something to the docstring to explain the format of selcols? e.g., include an example of what columns could be selected. It would also be helpful to link to IRSA's documentation on this parameter. Is the selcols argument specified somewhere in their docs?

For our reference, this is a fix for Issue #766

@jgagneastro
Copy link
Contributor Author

By docstring do you mean the comment header in core.py ? If so, I’ve already done both of these things. Otherwise, I can add this info if you point me where that docstring is located

@keflavich
Copy link
Contributor

Yes, that's what I mean, at least in part. It would also be helpful to add something to the prose documentation:
https://github.com/astropy/astroquery/blob/master/docs/irsa/irsa.rst

However, as far as I can tell, you have not made any changes to the docstring (the commend section below the function definition) for any functions in irsa/core.py in this pull request. Check that you committed the change?

@jgagneastro
Copy link
Contributor Author

Oh wow, indeed I lost them somewhere along the way. I’ll fix this asap

@jgagneastro
Copy link
Contributor Author

I just added back the header comments about selcols

Copy link
Contributor

@keflavich keflavich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, we just need to find out what's going on with this erroring test

@bsipocz bsipocz added this to the v0.3.9 milestone Nov 30, 2018
@keflavich keflavich merged commit ec1a4c0 into astropy:master Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants