-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Querying for all objects between 25-30pc using Simbad.query_criteria #925
Comments
I can't reproduce your error. If I try your exact example:
The result seems fine:
|
That's strange that it's working for you but not me. I'm using Python 3.6.1. Also I'm entering these commands using the Python console (IPython 6.1.0). I've ensured all my Python packages are up to date by running the sudo pip freeze --local | grep -v '^-e' | cut -d = -f 1 | xargs -n1 sudo pip install -U command. |
I can now confirm that it works by installing the development version of astroquery via: FYI, I also needed to install pytest for astroquery to work using the development version. Thanks for your help. Cheers, |
@baddison2005 - I'm glad to see that your issue is solved. Could you just confirm, you couldn't install the dev version without pytest, or you just needed it to run the tests? |
I could install the dev versions without pytest but I could not import the
package without pytest (importing astroquery without pytest package
installed results in an error).
Cheers,
Brett
Dr. Brett C. Addison
Postdoc Mississippi State University
Ph.D. Astronomy/Astrophysics
University of New South Wales
baddison2005@gmail.com
…On Mon, Jun 12, 2017 at 6:02 AM, Brigitta Sipocz ***@***.***> wrote:
@baddison2005 <https://github.com/baddison2005> - I'm glad to see that
your issue is solved. Could you just confirm, you couldn't install the dev
version without pytest, or you just needed it to run the tests?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#925 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANg7JpwQVmZvao_HZLZiRDJ6poJJThoIks5sDRqygaJpZM4N1xRO>
.
|
@keflavich - Should we formally require pytest in astroquery's setup.py, or shall we just go with the assumption that it is taken care of the astropy install (assuming one uses astropy 2.0+)? |
Yes, I guess so. |
Hi,
I'm not quite sure how to retrieve all objects that reside between 25-30pc (parallax of greater than 33.3mas and less than 40.0mas) using astroquery.
On the Simbad website query page under search expression, I can enter plx > 33.3 & plx < 40.0 and retrieve the desired results. However, I can't seem to do this using astroquery. I don't know the correct syntax for doing such a search. I've read the astroquery docs but did not find what I was looking for. Here's what I have tried.
I've also tried:
If someone could please help that would be greatly appreciated. My current workaround is to download as a .csv file the results from the Simbad query page and read those into Python using pyexcel.
Cheers,
Brett
The text was updated successfully, but these errors were encountered: