-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Preliminary code for Simbad #120
Conversation
] | ||
|
||
# add this to a top level common utils? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's a good idea. Separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I'll open a PR for this
Also need to restructure this to a |
Well this restructures the existing code for Simbad - I have removed the code that was no longer used, also the Also most of the implemented functionalities are covered under tests now. One interesting thing I found is that simply monkeypatching I haven't been able to make much head away with the votable fields display. Another thing is to get the validate decorators to work - again I need to look at this. |
If ordereddict isn't used, we should get rid of it. Otherwise, we should have ordereddict as a requirement for python2.6 users and use Let's discuss the votable fields display & validate decorators issues on Tuesday. |
from . import SIMBAD_SERVER, SIMBAD_TIMEOUT, ROW_LIMIT | ||
__all__ = ['Simbad'] | ||
|
||
# need to fix, before they work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you point out the failure / include an ipynb with an example?
My inline comments are mostly minor. One thing I'd really like to see with the SIMBAD updates, though, is an improved documentation page. i.e., copy a test of each type, and include it in |
The validate decorators are working now. I was actually chaining them in the wrong order. What I initially did was
This raises an error about getting the wrong argument types.
the decorators are working. |
Yes, it will be great to discuss the table display issues at today's telecon. One more thing I was wondering is whether we can also make our |
The last few commits add the documentation as well as the code for votable_fields. |
@jdnc I'll look into this |
@jdnc it worked fine for me first try!
|
It works now - moved |
Think it's ready to merge? |
This looks great! |
No more commits pending to be pushed now. |
This is a very very basic shot at re-writing the Simbad module. Most of the implementation is yet to be tried out ... but it would be great to get the initial feedback