GithubHelp home page GithubHelp logo

Fix deprecation warning about reg-gen HOT 2 CLOSED

costalab avatar costalab commented on July 28, 2024
Fix deprecation warning

from reg-gen.

Comments (2)

chaochungkuo avatar chaochungkuo commented on July 28, 2024

fixed.

from reg-gen.

sunta3iouxos avatar sunta3iouxos commented on July 28, 2024

Hi there, I still get this warning:

- taking into account chr19
/home/tgeorgom/mambaforge/envs/rgts/lib/python3.7/site-packages/rgt/THOR/MultiCoverageSet.py:164: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
  overall_coverage_strand = [[np.matrix(tmp2[0][0]), np.matrix(tmp2[0][1])],
/home/tgeorgom/mambaforge/envs/rgts/lib/python3.7/site-packages/rgt/THOR/MultiCoverageSet.py:165: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
  [np.matrix(tmp2[1][0]), np.matrix(tmp2[0][1])]]
/home/tgeorgom/mambaforge/envs/rgts/lib/python3.7/site-packages/rgt/THOR/MultiCoverageSet.py:167: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
  overall_coverage = [np.matrix(tmp[0]), np.matrix(tmp[1])]

rgt-THOR --version
1.0.0
installed via pip as commenden in the readme.io

from reg-gen.

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.