Code Monkey home page Code Monkey logo

Comments (7)

Carldeboer avatar Carldeboer commented on August 10, 2024

Any ideas?

from bx-python.

rsharris avatar rsharris commented on August 10, 2024

(I'm not a recently active contributor to this package, where "recent" is at decade resolution)

My best guess at the python3 problem is that the file wasn't opened in binary mode. So file.read thinks it's got a text file and decided to sanity check it for ascii compliance. The default for file.open is text mode. Not clear whether line 91 in aggregateGenomeData.py has "rb" as one of its arguments.

At one time there was no difference between text and binary files on *nix machines. I wonder if that's still true. Looking at https://docs.python.org/3/tutorial/inputoutput.html , the only difference I see mentioned is the usual windows vs *nix line endings.

That's just a guess though. Interested to know if I'm right.

from bx-python.

jxtx avatar jxtx commented on August 10, 2024

from bx-python.

Carldeboer avatar Carldeboer commented on August 10, 2024

Is there a chance this could be an install issue? A previous version worked, but I was having a problem where data from chr6 was missing and so upgraded. Deleting the newer version seemed to have broken the old. Copying the old version back to the lib dir and deleting the newer versions resulted in a similar error.

from bx-python.

jxtx avatar jxtx commented on August 10, 2024

from bx-python.

Carldeboer avatar Carldeboer commented on August 10, 2024

Looks like it was indeed a bad install. It works now, but unfortunately the bug I was hoping was fixed in the latest version remains so I will open a new ticket.

from bx-python.

jxtx avatar jxtx commented on August 10, 2024

from bx-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.