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

Nose tests failing #7

Open
reidma opened this issue Nov 22, 2017 · 2 comments
Open

Nose tests failing #7

reidma opened this issue Nov 22, 2017 · 2 comments

Comments

@reidma
Copy link

reidma commented Nov 22, 2017

Hi there. I'm trying to run:

nosetests -v transit.tests

but I get a lot of errors, beginning with:

transit.tests.test_impact ... ok
transit.tests.test_period ... ok
transit.tests.test_duration ... /Users/<myusername>/anaconda3/lib/python3.6/site-packages/transit/transit.py:518: RuntimeWarning: divide by zero encountered in log
  np.log(self.central.dilution)-np.log(1.0-self.central.dilution)
ok
transit.tests.test_kepler_gradient ... /Users/<myusername>/anaconda3/lib/python3.6/site-packages/transit/tests.py:116: RuntimeWarning: invalid value encountered in greater
  assert np.any(np.abs(g) > 0.0)
FAIL
transit.tests.test_simple_gradient ... ERROR
transit.tests.test_modeling_protocol ... ERROR

I'm not having much luck debugging this. Are you able to advise?

Thanks!

@dfm
Copy link
Owner

dfm commented Nov 23, 2017

Hi! Sorry - the tests are totally out of date and I don't have much time to support this right now.

I'd recommend batman as an alternative.

@reidma
Copy link
Author

reidma commented Nov 27, 2017

Thanks for the tip!

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

No branches or pull requests

2 participants