Skip to content

Issues when running model 2 #9

Description

@GilbertoPPereira

Hello!

I was trying out the code and had an issue with model 2 (the hybrid method).
I ran the example peptides in pep.fa and it returned the following error:

Traceback (most recent call last):
File "/home/gpereira/miniconda3/bin/toxinpred2", line 8, in
sys.exit(main())
^^^^^^
File "/home/gpereira/miniconda3/lib/python3.12/site-packages/toxinpred2/python_scripts/toxinpred2.py", line 355, in main
BLAST_processor('RES_1_6_6.out','blast_hybrid.csv',seqid)
File "/home/gpereira/miniconda3/lib/python3.12/site-packages/toxinpred2/python_scripts/toxinpred2.py", line 176, in BLAST_processor
df3 = df3.append(df2.loc[df2.Subject==i][0:5]).reset_index(drop=True)
^^^^^^^^^^
File "/home/gpereira/miniconda3/lib/python3.12/site-packages/pandas/core/generic.py", line 6299, in getattr
return object.getattribute(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

It looks something easy to fix by the user, but I wanted to bring it to your attention.

Best,
Gilberto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions