GithubHelp home page GithubHelp logo

psev's People

Contributors

baranzini-lab avatar

Stargazers

 avatar  avatar  avatar

Forkers

irreversibly

psev's Issues

Move to ITRB

image

  • Please move production to ITRB prod asap
  • Also we will want ITRB testing and staging soon

Empty direct_hit_list because node_list byte objects not decoded

On line 117 of connect_all_patients.py, I end up with an empty list for direct_hit_list because the byte objects in node_list (line 28) have not been decoded to get strings. Therefore, the list in line 116 ends up with all False values. I fixed this by adding the following line right after node_list is read from file on line 28:

node_list = np.array([node.decode() for node in node_list])

This fixed the issue, giving me a list of 3183 items for direct_hit_list (on line 117). This, then, gave me the expected output:

SEP STATS: (3183,) Counter({'SideEffect': 1851, 'Compound': 922, 'Symptom': 257, 'Disease': 137, 'Gene': 16})

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.