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

AttributeError: 'LayoutLine' object has no attribute 'color #616

Open
mixle18 opened this issue Dec 15, 2023 · 0 comments
Open

AttributeError: 'LayoutLine' object has no attribute 'color #616

mixle18 opened this issue Dec 15, 2023 · 0 comments

Comments

@mixle18
Copy link

mixle18 commented Dec 15, 2023

Hi,
I am trying to run microsynteny And i am getting this issue with colour. Can you help?

(allmap) safflower2@safflower2:/media/safflower2/Data/megha/validation/synteny/data/pairwise$ python -m jcvi.graphics.karyotype seqids layout
[04:22:37] DEBUG Load file layout base.py:34
DEBUG Load file saf_chinese.bed base.py:34
[04:22:38] DEBUG Load file saf_du.bed base.py:34
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/karyotype.py", line 469, in
main()
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/karyotype.py", line 447, in main
Karyotype(
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/karyotype.py", line 350, in init
layout = Layout(layoutfile, generank=generank, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/karyotype.py", line 87, in init
self.assign_colors(seed=seed)
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/base.py", line 151, in assign_colors
self.assign_array("color", colorset)
File "/home/safflower2/anaconda3/envs/allmap/lib/python3.11/site-packages/jcvi/graphics/base.py", line 141, in assign_array
if not getattr(x, attrib):
^^^^^^^^^^^^^^^^^^
AttributeError: 'LayoutLine' object has no attribute 'color

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