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

Nosetests Fail #165

Open
JayChittidi opened this issue Nov 17, 2021 · 0 comments
Open

Nosetests Fail #165

JayChittidi opened this issue Nov 17, 2021 · 0 comments

Comments

@JayChittidi
Copy link

JayChittidi commented Nov 17, 2021

Hi there,

I'm getting two failure outputs during the nosetests, and not sure what or how to fix them. Do you have any suggestions? Isochrones is called by another code I am using astroARIADNE, and the MIST isochrone gets stuck indefinitely on the first iteration. Happy to provide more details as needed!

Here's the last bit of the nosetest output:

`======================================================================
FAIL: isochrones.tests.test_likelihood.test_compare_phot

Traceback (most recent call last):
File "/home/jaywsl/anaconda3/envs/sedenv/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/jaywsl/anaconda3/envs/sedenv/lib/python3.7/site-packages/isochrones-2.1-py3.7.egg/isochrones/tests/test_likelihood.py", line 57, in test_compare_phot
test_compare_starmodels(props_phot)
File "/home/jaywsl/anaconda3/envs/sedenv/lib/python3.7/site-packages/isochrones-2.1-py3.7.egg/isochrones/tests/test_likelihood.py", line 24, in test_compare_starmodels
assert np.isclose(m1.lnprior(pars), m2.lnprior(pars))
AssertionError:
-------------------- >> begin captured logging << --------------------
isochrones: DEBUG: Building ObservationTree...
isochrones: DEBUG: Adding (3.58, 0.05) @(0.0, 0.0) (-J)
isochrones: DEBUG: Adding (3.22, 0.05) @(0.0, 0.0) (-K)
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing with first entry from Gaia DR1 TGAS table

Traceback (most recent call last):
File "/home/jaywsl/anaconda3/envs/sedenv/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/jaywsl/anaconda3/envs/sedenv/lib/python3.7/site-packages/isochrones-2.1-py3.7.egg/isochrones/tests/test_query.py", line 38, in test_queries
assert tm.get_id() == b("03000819+0014074") # force byte literal b/c that's what gets returned
AssertionError


Ran 26 tests in 62.690s

FAILED (errors=3, failures=5)`

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

1 participant