Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fancplot layer: AttributeError: 'Bed' object has no attribute '_parameters' #185

Open
jmsanper opened this issue Apr 1, 2024 · 1 comment

Comments

@jmsanper
Copy link

jmsanper commented Apr 1, 2024

Hi,
I'm trying to plot some boundaries from bed files that used to work with fancplot -p layer, but I'm getting this error:

2024-04-01 16:05:55,420 INFO Using non-interactive backend
Traceback (most recent call last):
File "/Users/josemaria/miniconda3/bin/fancplot", line 261, in
FancPlot()
File "/Users/josemaria/miniconda3/bin/fancplot", line 113, in init
plot, plot_args = plot_method(args)
File "/Users/josemaria/miniconda3/lib/python3.10/site-packages/fanc/commands/fancplot_commands.py", line 132, in scores
data_selection = array._parameters
AttributeError: 'Bed' object has no attribute '_parameters'

Bed files used were generated with fanc boundaries, of course.
Could you please help me with this issue?
Thank you!

@jmsanper
Copy link
Author

jmsanper commented Apr 4, 2024

Hi again,
I realized that the problem was that I was trying to plot insulation scores calling to a bed file with a single window size and '-p scores' only accepts the insulation object as input.
Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant