-
Notifications
You must be signed in to change notification settings - Fork 41
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
key error "designation" from create_catalog.for_proposal #794
Comments
You're getting the same error for a new Mirage installation? I just merged a PR at the end of March because astroquery changed the names of some of their catalog columns from 'designation' to 'DESIGNATION'. Your error makes it seem like you're still using a version of the code from before the change? |
I'm running the latest 0.4.6 version of astroquery after updating (MIRAGE
is latest version 2.2.1) and still having this exact same error. Any other
ideas?
On Tue, May 10, 2022 at 12:33 PM Christina Williams <
***@***.***> wrote:
… Yes, its "new" meaning I installed it in January but I just updated it
today using pip install --update mirage (it is version 2.2.1). But I
haven't updated astroquery in a long time, could that be the issue?
On Tue, May 10, 2022 at 12:26 PM Bryan Hilbert ***@***.***>
wrote:
> You're getting the same error for a new Mirage installation? I just
> merged a PR at the end of March because astroquery changed the names of
> some of their catalog columns from 'designation' to 'DESIGNATION'. Your
> error makes it seem like you're still using a version of the code from
> before the change?
>
> —
> Reply to this email directly, view it on GitHub
> <#794 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACR72CHHIROWAUWSFL4QELLVJKZ6JANCNFSM5VSM2EJA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
*********************************************
Christina C. Williams
University of Arizona
933 N. Cherry Ave
Tucson, AZ 85721
(520) 621-4661
*********************************************
--
*********************************************
Christina C. Williams
University of Arizona
933 N. Cherry Ave
Tucson, AZ 85721
(520) 621-4661
*********************************************
|
This is what I'm getting now, using astroquery 0.4.6:
|
Yes, its "new" meaning I installed it in January but I just updated it
today using pip install --update mirage (it is version 2.2.1). But I
haven't updated astroquery in a long time, could that be the issue?
…On Tue, May 10, 2022 at 12:26 PM Bryan Hilbert ***@***.***> wrote:
You're getting the same error for a new Mirage installation? I just merged
a PR at the end of March because astroquery changed the names of some of
their catalog columns from 'designation' to 'DESIGNATION'. Your error makes
it seem like you're still using a version of the code from before the
change?
—
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACR72CHHIROWAUWSFL4QELLVJKZ6JANCNFSM5VSM2EJA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*********************************************
Christina C. Williams
University of Arizona
933 N. Cherry Ave
Tucson, AZ 85721
(520) 621-4661
*********************************************
|
That could be the issue. astroquery just updated the catalog column name fairly recently. So if you have an old version of astroquery but a new version of Mirage, they may be looking for different column names. Try upgrading astroquery to version 0.4.6. |
Hi! I'm having an issue with mirage's create_catalogs routines returning an error "KeyError 'designation'" when I call create_catalog.for_proposal. It is a command from the online examples that previously ran successfully in October, and I have not updated any of the packages since then (I also have a fresh install / update on a different machine and get the same error).
The text was updated successfully, but these errors were encountered: