Giter Site home page Giter Site logo

Recycle.py: Runtime error about recycler HOT 8 CLOSED

shamir-lab avatar shamir-lab commented on June 23, 2024
Recycle.py: Runtime error

from recycler.

Comments (8)

dpellow avatar dpellow commented on June 23, 2024 1

I got this as well. Fixed by changing line 83 of recycle.py:
G.remove_nodes_from(nx.isolates(G)) --> G.remove_nodes_from(list(nx.isolates(G)))

See: http://pelegm-networkx.readthedocs.io/en/latest/reference/generated/networkx.algorithms.isolate.isolates.html

from recycler.

rozovr avatar rozovr commented on June 23, 2024

Thanks. Are you sure all the dependencies are covered? How did you install?

from recycler.

Freemacl avatar Freemacl commented on June 23, 2024

MacOS (works):

  • numpy 1.12.1
  • networkx 1.11
  • pysam 0.11.2.2
  • nose 1.3.7
  • BWA 0.7.5a
  • samtools 1.5
  • SPAdes 3.10.1
    none of the dependencies were met, so I installed with conda

Ubuntu (doesn't work):

  • numpy 1.11.1
  • networkx 2.0b2
  • pysam 0.12
  • nose 1.3.7
  • BWA 0.7.12
  • samtools 1.5
  • SPAdes 3.10.1
    Was only missing networkX, which I installed via pip

from recycler.

salvoc81 avatar salvoc81 commented on June 23, 2024

I was getting the same error on MacOS 10.12 (Sierra). Matching the versions of the module fixed the issue.

from recycler.

rozovr avatar rozovr commented on June 23, 2024

Hi @salvoc81, do you mean the versions that are in the README?
@Freemacl, sorry for my delay, am wrapping up my thesis now; will look into this soon

from recycler.

nwatarai avatar nwatarai commented on June 23, 2024

Hi, I got the same error, but downgraded Python networkX from 2.0 to 1.11 and the error disappeared.

from recycler.

Freemacl avatar Freemacl commented on June 23, 2024

@nwatarai @salvoc81 Thanks for the help! That fixed my issue. Phew.

from recycler.

dpellow avatar dpellow commented on June 23, 2024

Merged bug fix into master

from recycler.

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.