Comments (6)
I noticed that one of the submodules of this package is named io
, which is already the name of a Python library. I'm not very knowledgeable about Python's package systems, but do you think this could be causing my issue?
from iced.
Not in this particular cause, as the error actually comes from the fastio_.c file. If you install pandas, it will pick a better maintain loading mechanism which should hopefully fix this issue.
i'll investigate more on why my hacky c code doesn't work…
from iced.
I may be totally off base here, but my interpretation based on a close reading of the error is:
- numpy looks for tempfile in the right place.
- tempfile looks for built-in io in the wrong place (with iced) but finds something, so no error occurs yet
- io (but your doppelganger, not the built-in one) looks for .fastio and finds it with iced, but expects it to have a certain attribute, and it doesn't.
If I prioritize the path to the built-in io.py
(move it earlier in my PYTHONPATH), the issue goes away (and I get a new error, which I will pursue along with your pandas suggestion).
Thanks for looking into this!
from iced.
I honestly was not aware that this piece of code was still here. It was implemented before I realized the csv reader of pandas was really really really fast.
from iced.
Aha! Looks like this has come up before.
from iced.
I am going to close this because the fix worked (and apparently it was already known, rather than just something I got lucky on).
from iced.
Related Issues (20)
- some basic questions about ICE normalization HOT 1
- ice matrix bias file inconsistency HOT 2
- Implement madmax filtering
- Github actions runs tests NOT on installed version of iced
- Building documentations generates warnings
- ice now outputs 0. Need to filter them before writing.
- numpy version compatibility
- ICE returns Nan when profile contains 0
- NoneType object returned on X.eliminate_zeros() HOT 1
- memory error HOT 2
- plain-text LICENSE file
- community guidelines links to pastis-issue tracker HOT 4
- Segmentation fault HOT 2
- ImportError: No module named numpy.distutils.core when installing using pip HOT 5
- bug in verbose mode using python 3.7.X HOT 1
- SCN element wise production issue HOT 2
- Install iced for python 2.7
- ValueError: The matrix should be symmetric on .matrix files made with HiC-Pro HOT 9
- warning when running the latest (0.5.7) ice
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 iced.