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
TypeError: Package infodynamics.measures.continuous.gaussian.ConditionalMutualInfoCalculatorMultiVariateGaussian is not Callable #9
Comments
Hi Nick, This seems to match a known issue (not formally listed here as an issue) that I haven't addressed yet, being that the jar for the underlying JIDT computation engine was targetted for Java 1.7 but I think you're using an earlier Java version. You can verify this by running:
somewhere in your code. The targetting of Java 1.7 should have been brought back to 1.6 earlier, but I just haven't gotten to this yet; it depends on a fix coming through from JIDT. We'll get you to retest when that comes through. Can I also confirm you are running from the master branch? Thanks, |
Thanks for the quick reply! You are right, I was using JDK 6 (default JDK for Ubuntu 12.04).
I was indeed using the master branch.
... Upon testing again, it seems to go through, but at the end, I get the following: creating surrogate table with 500 permutations:
cand. (3, 1) -- significant
---------------------------- (4) final statistics
[(4, 1), (4, 4), (4, 2), (4, 3), (4, 5), (3, 1)]
no. target sources: 5, no. sources: 1
omnibus test, n_perm: 500
-- significant
final source samples: [(3, 1)]
final target samples: [(4, 1), (4, 4), (4, 2), (4, 3), (4, 5)]
Traceback (most recent call last):
File "first.py", line 20, in <module>
print_res_to_console(data=data, results=results)
TypeError: print_res_to_console() got an unexpected keyword argument 'results' Should I close this issue, and create a new issue? |
the last error is because the keyword args used by |
Thanks Nick,
Don't close the issue, I still need to deal with the java 7 dependence.
Re the 2nd problem - thanks for identifying it. I'll leave it to Patricia
re whether she wants do deal with it here or separately.
…--joe
On 3 Oct 2017 5:18 am, "NICK VANDEWIELE" ***@***.***> wrote:
the last error is because the keyword args used by print_res_to_console,
plot_network in first.py should be changed from results to res with
4ddb995
<4ddb995>.
Not a big deal, though. Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABirw5DdkaSzEN0TVYRYqYIFEwm3BfZdks5soSkLgaJpZM4Pnzqy>
.
|
Hi Nick, |
Add JIDT jar-file v1.4, targeting Java 1.6. Fixes #9.
I get the same error and my Java version is 11 |
Any idea what I am doing wrong?
I'm running the example shown in the wiki. I installed JPype1 via pip, although the package via the conda-forge channel runs into the same issue.
ubuntu 12.04, python 3.5 run from within a conda env. some more info below.
The text was updated successfully, but these errors were encountered: