Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨🐍 Fix deprecated pandas method invocation (#279)
Update bedtools column summation to prevent FutureWarning message ```text /home/evan/miniconda3/envs/autometa/lib/python3.9/site-packages/autometa/common/external/bedtools.py:107: FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys) will be deprecated, use a list instead. dff = df.groupby(contig)[depth_product, bases].sum() ``` Now explicitly passes list, e.g. `dff = df.groupby(contig)[["depth_product", "bases"]].sum()`
- Loading branch information