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

Correct disp format in catalog.py #50

Merged
merged 1 commit into from
May 31, 2020
Merged

Correct disp format in catalog.py #50

merged 1 commit into from
May 31, 2020

Conversation

Siltala
Copy link
Contributor

@Siltala Siltala commented May 19, 2020

This fixes bug #45 by using valid values for disp_dic in catalog.py.

I think that these values have always been invalid, but astropy has not validated them before release 4.0.1 (see astropy/astropy#9978 ) so it hasn't raised any errors in the past and we've been feeding 'garbage' values into it until now. Considering that things have worked in the past even with invalid values here, maybe it's not actually too important..?

I don't know if the format in this commit makes much sense (it probably doesn't?) - I more or less arbitrarily copied it from the disp format used for OBSDATE. Still, astropy accepts it and thus it fixes the crash.

@mommermi mommermi merged commit c97b1de into mommermi:master May 31, 2020
@mommermi
Copy link
Owner

Thanks, @Siltala!

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