rigdenlab / conkit

Contact Prediction ToolKit
https://www.conkit.org/en/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 8 forks source link

'Sequence' object has no attribute 'sequence' #85

Closed FilomenoSanchez closed 3 years ago

FilomenoSanchez commented 3 years ago

General Information

Example

$> conkit-plot cmap toxd.pdb pdb toxd.fasta fasta

Traceback

Traceback (most recent call last):
  File "/home/filo/PycharmProjects/conkit/conkit/command_line/conkit_plot.py", line 510, in <module>
    main()
  File "/home/filo/PycharmProjects/conkit/conkit/command_line/conkit_plot.py", line 325, in main
    con.sequence = seq
AttributeError: 'Sequence' object has no attribute 'sequence'
FilomenoSanchez commented 3 years ago

Actually this is not a bug, the problem was that the input was given in the wrong order... It should have been:

$> conkit-plot cmap toxd.fasta fasta toxd.pdb pdb