Open
Description
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
Labels
No labels