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

Add TableList class to astroquery.utils #128

Merged
merged 3 commits into from
Jul 17, 2013

Conversation

jdnc
Copy link
Contributor

@jdnc jdnc commented Jul 12, 2013

This adds a TableList class to astroquery.utils.commons which is an extension of an OrderedDict. It should be as an OrderedDict container for astropy.table.Table objects - having table names as keys and the corresponding astropy.table.Table object as the value.


return info_str

def list_contents(self):
Copy link
Member

Choose a reason for hiding this comment

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

As I mentioned in #125, I think this should be print_tables

@astrofrog
Copy link
Member

@jdnc - it looks like this may need rebasing?

@jdnc
Copy link
Contributor Author

jdnc commented Jul 12, 2013

@astrofrog - I have rebased this basically following your instructions at astropy/astropy#1203 (comment) and using meld. The branch couldn't be merged automatically - but I missed this while making the PR. Is it all right now? I'll also rename the list_contents in another commit as discussed...

@jdnc
Copy link
Contributor Author

jdnc commented Jul 12, 2013

All right so did the rebase again and pushed ( I missed including the TableList tests in the earlier rebase!)

@astrofrog
Copy link
Member

@jdnc - this looks good, is it ready to be merged?

@jdnc
Copy link
Contributor Author

jdnc commented Jul 17, 2013

Yes, no more pending commits on this.

astrofrog added a commit that referenced this pull request Jul 17, 2013
Add TableList class to astroquery.utils
@astrofrog astrofrog merged commit 2352a9c into astropy:master Jul 17, 2013
jdnc pushed a commit to jdnc/astroquery that referenced this pull request Jul 30, 2013
Add TableList class to astroquery.utils
@zpace zpace mentioned this pull request Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants