Comments (3)
Thanks, this is a problem in another one of my libraries, pyemd. I'll have a look.
from pyphi.
Another one:
=================================== FAILURES ===================================
___________________________ [doctest] 2014paper.rst ____________________________
181 >>> subsystem.cause_repertoire((A,), (B, C, D))
182 array([[[[0.125, 0.125],
183 [0.125, 0.125]],
184 <BLANKLINE>
185 [[0.125, 0.125],
186 [0.125, 0.125]]]])
187
188 And this gives us zero cause information:
189
190 >>> subsystem.cause_info((A,), (B, C, D))
UNEXPECTED EXCEPTION: ValueError('Little-endian buffer not supported on big-endian compiler')
Traceback (most recent call last):
File "/usr/lib64/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest 2014paper.rst[12]>", line 1, in <module>
File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/subsystem.py", line 485, in cause_info
return repertoire_distance(
File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 281, in repertoire_distance
dist = directional_emd(direction, r1, r2)
File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 266, in directional_emd
return round(func(d1, d2), config.PRECISION)
File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 143, in hamming_emd
return emd(d1, d2, _hamming_matrix(N))
File "pyemd/emd.pyx", line 49, in pyemd.emd.emd
ValueError: Little-endian buffer not supported on big-endian compiler
/builddir/build/BUILD/pyphi-1.2.0/docs/examples/2014paper.rst:190: UnexpectedException
------------------------------ Captured log setup ------------------------------
from pyphi.
I just verified that this is still a problem with pyphi 1.2.1 and the latest dependencies in Fedora.
from pyphi.
Related Issues (20)
- Import error HOT 1
- Python3.12: Tests fail HOT 2
- Version 1.2.1 has never been released
- pyphi execution hangs after outputting one line HOT 2
- Scalability to large network HOT 6
- The readme instructions for installing via conda fails HOT 1
- pyphi-users mailing list HOT 2
- where is PQR cause-effect space on fpga with φ? HOT 2
- Compute relations up to a certain order HOT 1
- Indicate when a connectivity-based optimization was used for MICE with phi = 0
- Support for different ways of computing phi?
- Python 3.8 multiprocessing breaks configuration system with parallelization on macOS
- Error when trying to receive TPM using json HOT 1
- Error import network.json file in the ipython or python HOT 2
- export network file to ghephi format supported
- Key Error ID from network.json using ipycytoscape in Jupyter Lab
- ValueError: math domain error HOT 1
- AttributeError: module pytest has no attribute lazy_fixture
- atomic_write_yaml() fails to move fresh pyphi_config.yml ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyphi.