arpcard / rgi

Resistance Gene Identifier (RGI). Software to predict resistomes from protein or nucleotide data, including metagenomics data, based on homology and SNP models.
Other
314 stars 75 forks source link

Error running rgi heatmap #248

Closed ruwaniama closed 8 months ago

ruwaniama commented 9 months ago

Describe the bug When I run the "rgi heatmap" I get "AttributeError: 'DataFrame' object has no attribute 'append'". This happens when I use the "--category" argument.

Input rgi heatmap -i Contigs/Output/ --category drug_class -o hm -clus both

Input file PLO1_output.json PLO2_output.json

Error log AttributeError: 'DataFrame' object has no attribute 'append'

CARD Version 3.2.8

RGI version 6.0.3

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Screenshot 2023-10-15 at 11 43 51

Desktop (please complete the following information):

Additional context Add any other context about the problem here. If applicable, include dependency versions such as Biopython version and Python version.

raphenya commented 8 months ago

@ruwaniama Please re-open this issue if you are still experiencing the same error. Cheers.