-
Notifications
You must be signed in to change notification settings - Fork 145
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
[BUG] Pandas dataframe has no attribute 'append' #2313
Comments
@philipwoods, thanks for posting this bug! Weirdly, I was not able to reproduce it on my end but I went ahead and refactored |
Here is the branch tracking this issue: master...deprecate-pandas-append-synteny |
Sorry for the delay! Here is the file and the command I used (I forget whether |
I run your command in @mschecht's branch, and got this error:
So it is some improvement, but more things to fix clearly :) |
Short description of the problem
anvi-analyze-synteny
fails because Pandas has deprecatedDataFrame.append()
as of version 1.4.0 in favor ofpandas.concat()
.anvi'o version
System info
Operating system is RedHat enterprise Linux.
Anvi'o was installed in a conda environment.
Detailed description of the issue
I ran
anvi-analyze-synteny
on my pangenome and got the following error:Looking into it, I found that requirements.txt forces pandas==1.4.4, while DataFrame.append() has been deprecated since pandas version 1.4.0. Therefore I expect that this will be an issue in every part of anvi'o that currently uses the pandas DataFrame.append() method.
The text was updated successfully, but these errors were encountered: