Skip to content

fixed _low_precision to throw the warning when off the table - #4

Merged
bsipocz merged 2 commits into
bsipocz:update_template_1.1.1from
kvyh:template_update
Jul 14, 2016
Merged

bsipocz merged 2 commits into
bsipocz:update_template_1.1.1from
kvyh:template_update

Conversation

@kvyh

@kvyh kvyh commented Jul 13, 2016

Copy link
Copy Markdown

This should fix the error in the test_iers_download.

@bmorris3

Copy link
Copy Markdown

@kvyh Looks like that didn't quite do it.

Comment thread astroplan/utils.py
return self.delta_ut1_utc
else:
return self.delta_ut1_utc
except ValueError:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why did you change the error type?

Is there any scenario when it goes into the exception part, assuming that now astroplan requires astropy >=1.2?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I changed the error type because the IndexError was never occuring (which is what got fixed by astropy 1.2), but ValueErrors were caused a lot when it tried to evaluate the iers table.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

OK, great. Merging then.

@kvyh

kvyh commented Jul 14, 2016

Copy link
Copy Markdown
Author

@bsipocz would it be possible to restart the 24.13 check to see if it is working for python2.7?

@bsipocz
bsipocz merged commit 9660037 into bsipocz:update_template_1.1.1 Jul 14, 2016
@kvyh
kvyh deleted the template_update branch July 14, 2016 21:39
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.

3 participants