8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
RuntimeWarning: invalid value encountered in true_divide #39
Open
@afandiadib

Description

@afandiadib

Hi,

I just installed forgi via pip and I got this error when I want to visualize RNA structure. It happened on some of my RNA structures.

/mnt/Data/Programs/conda/lib/python3.8/site-packages/forgi/visual/mplotlib.py:118: RuntimeWarning: invalid value encountered in true_divide
norm_vec/=ftuv.magnitude(norm_vec)

Code to reproduce:

import forgi.graph.bulge_graph as fgb
import forgi.visual.mplotlib as fvm

bg = fgb.BulgeGraph.from_dotbracket('......((((((((((((((((......))))))))))))))))((((.(((((....).))))))))(((((((....))))))).....................')
fvm.plot_rna(bg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0