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

MI tests failing #41

Open
dayanne-castro opened this issue Jul 20, 2017 · 4 comments
Open

MI tests failing #41

dayanne-castro opened this issue Jul 20, 2017 · 4 comments

Comments

@dayanne-castro
Copy link
Collaborator

Mutual information tests all failing for me... how is it looking for you guys? Anything I should be aware of that is changing?

@nickdeveaux
Copy link
Contributor

@dayanne-castro The master branch code hasn't changed since April. I'm not seeing failures. What branch are you on?

@dayanne-castro
Copy link
Collaborator Author

Nick, it is in the MTL branch actually -- I didn't change anything with mi though..

@nickdeveaux
Copy link
Contributor

nickdeveaux commented Jul 20, 2017

Locally, the tests pass for me on branch master. However, if I run the tests on branch MTL in a different directory (/Users/ndeveaux/Dropbox (Simons Foundation)/inferelator_refactor), then all the mi tests fail. The reason they fail, however, has nothing to do with mi code correctness: it's because the test infrastructure can't handle running R code from a directory with a space in it, i.e. "Dropbox (Simons Foundation)"
I moved the code to a ~/Desktop/tmp folder, and the MI tests passed. However, I still got one test failure: ====================================================================== ERROR: test_ebic_RSSzero (inferelator_ng.tests.test_sparse_blocksparse.Test_AuxiliaryFunctions) ----------------------------------------------------------------------
Traceback (most recent call last): File "/Users/ndeveaux/Desktop/tmp/inferelator_ng/inferelator_ng/tests/test_sparse_blocksparse.py", line 31, in test_ebic_RSSzero self.assertAlmostEqual(sparse_blocksparse.ebic(self.X, self.Y, W, 2, 2, [3, 3]), 2.07944) File "/Users/ndeveaux/Desktop/tmp/inferelator_ng/inferelator_ng/sparse_blocksparse.py", line 294, in ebic n = n_samples[k] TypeError: 'int' object has no attribute '__getitem__'

@dayanne-castro
Copy link
Collaborator Author

Got it!

About the error -- still working on it, and I haven't even committed how did you get it?
D.

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