You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior is to run mirtop stats following mirtop gff. With the April 2023 update of pandas to v2.0.0, the append method of a DataFrame has been removed.
Traceback (most recent call last):
File "/opt/conda/envs/small/bin/mirtop", line 10, in <module>
sys.exit(main())
File "/opt/conda/envs/small/lib/python3.10/site-packages/mirtop/command_line.py", line 34, in main
stats(kwargs["args"])
File "/opt/conda/envs/small/lib/python3.10/site-packages/mirtop/gff/stats.py", line 38, in stats
out.append(_calc_stats(fn))
File "/opt/conda/envs/small/lib/python3.10/site-packages/mirtop/gff/stats.py", line 82, in _calc_stats
df = _summary(lines)
File "/opt/conda/envs/small/lib/python3.10/site-packages/mirtop/gff/stats.py", line 130, in _summary
df_sum = _add_missing(df_sum)
File "/opt/conda/envs/small/lib/python3.10/site-packages/mirtop/gff/stats.py", line 111, in _add_missing
df = df.append(df2, ignore_index = True)
File "/opt/conda/envs/small/lib/python3.10/site-packages/pandas/core/generic.py", line 5989, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?
You can see the issue in the _add_missing function
Expected behavior and actual behavior.
Expected behavior is to run
mirtop stats
followingmirtop gff
. With the April 2023 update ofpandas
to v2.0.0, theappend
method of aDataFrame
has been removed.You can see the issue in the
_add_missing
functionI have not checked if it occurs elsewhere.
Steps to reproduce the problem.
Installing
mirtop
as described withconda
will use the latest pandas (v2.0.1) and cause the above error.Specifications like the version of the project, operating system, or hardware.
As a temporary workaround, specifying the
pandas
version fixes the issueThe text was updated successfully, but these errors were encountered: