jcvi报错'LayoutLine' object has no attribute 'sizes'

我的layout文件种没有空行,先报错‘LayoutLine' object has no attribute 'color',我将layout文件edges下的e顶格写后变成了这个报错,请问老师应该怎么解决

Traceback (most recent call last):

  File "/share/work/biosoft/python/Python3/lib/python3.9/runpy.py", line 197, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "/share/work/biosoft/python/Python3/lib/python3.9/runpy.py", line 87, in _run_code

    exec(code, run_globals)

  File "/share/work/biosoft/python/Python3/lib/python3.9/site-packages/jcvi/graphics/karyotype.py", line 469, in <module>

    main()

  File "/share/work/biosoft/python/Python3/lib/python3.9/site-packages/jcvi/graphics/karyotype.py", line 447, in main

    Karyotype(

  File "/share/work/biosoft/python/Python3/lib/python3.9/site-packages/jcvi/graphics/karyotype.py", line 387, in __init__

    tr = Track(root, lo, gap=gap, height=height, lw=lw, draw=False)

  File "/share/work/biosoft/python/Python3/lib/python3.9/site-packages/jcvi/graphics/karyotype.py", line 143, in __init__

    self.sizes = sizes = t.sizes

AttributeError: 'LayoutLine' object has no attribute 'sizes'

请先 登录 后评论

1 个回答

Ti Amo

需要你提供你的 layout 文件和 seqid 文件

请先 登录 后评论